Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

欢迎大家提建议啊~~~ #1

Closed
Snailclimb opened this issue Jun 6, 2018 · 16 comments
Closed

欢迎大家提建议啊~~~ #1

Snailclimb opened this issue Jun 6, 2018 · 16 comments

Comments

@Snailclimb
Copy link
Owner

Snailclimb commented Jun 6, 2018

欢迎大家提建议啊~~~
一个好的开源文档的诞生一个人的努力肯定是不够的,所以在这里希望能有人帮忙一起完善。

@YunaiV
Copy link

YunaiV commented Jun 23, 2018

你好。我是芋道源码的博主。请问可以转载你的文章么?

@Guanzhou-Ke
Copy link

spring系列可能分拣出来比较好点,可以增加容器的相关知识点,tomcat jetty这些。

@aiengelangte
Copy link

厉害了

@Snailclimb
Copy link
Owner Author

后续会考虑增加Tomcat相关知识以及考虑主流框架部分的完善,最近可能没时间。

@lukesama
Copy link

能麻烦加一下进程间通讯方式之类的文章嘛

@Snailclimb
Copy link
Owner Author

@lukesama 不好意思 目前可能没有时间添加,这段时间忙玩之后会考虑添加操作系统方面的知识。嘿嘿 ,你也可以将这些知识总结出来然后给我PR啊!

@2251999759
Copy link

好厉害,可以跟着大佬一块学习吗?

@Snailclimb
Copy link
Owner Author

欢迎一起学习交流 @2251999759

@im-Luxqi
Copy link

非常厉害

@thang-d
Copy link

thang-d commented Aug 24, 2018

I hope it has version English

@jounghu
Copy link

jounghu commented Sep 25, 2018

HashMap 长度是2的幂次方,文档写的有误

hashmap

HashMap的长度在初始化的时候定义为:

hashmap2

tableSizeFor() 会把将cap容量扰动为2的幂次方

 /**
     * Returns a power of two size for the given target capacity.
     */
    static final int tableSizeFor(int cap) {
        int n = cap - 1;
        n |= n >>> 1;
        n |= n >>> 2;
        n |= n >>> 4;
        n |= n >>> 8;
        n |= n >>> 16;
        return (n < 0) ? 1 : (n >= MAXIMUM_CAPACITY) ? MAXIMUM_CAPACITY : n + 1;
    }

希望改进

@yzsunlight
Copy link

建议你整体可以 从入门到基础到深入, 建议书单更加完善

@Snailclimb
Copy link
Owner Author

@jounghu 你好!HashMap 用你说的那个函数初始化的时候,如果你给的容量不是2的幂次方 的会把 容量默认变为 2的幂次方。但是这不是 HashMap 长度是2的幂次方的原因。

@jounghu
Copy link

jounghu commented Oct 10, 2018

@Snailclimb 那请问原因是什么?

@MutualExclusion
Copy link

如何在这个项目中添加图片,毕竟人对于图片的理解远远要超过对文字理解的速度

@YangYangDai
Copy link

java只有值传递 基本数据类型是值传递 引用类型是引用类型的值(内存地址的值)传递

Snailclimb pushed a commit that referenced this issue Mar 12, 2019
Snailclimb pushed a commit that referenced this issue Apr 22, 2019
Snailclimb pushed a commit that referenced this issue May 11, 2019
update from Snailclimb/JavaGuide
Snailclimb pushed a commit that referenced this issue Jul 13, 2019
Merge pull request #385 from yellowgg/master
Snailclimb pushed a commit that referenced this issue Jul 25, 2019
Snailclimb pushed a commit that referenced this issue Oct 2, 2019
Snailclimb pushed a commit that referenced this issue Nov 12, 2019
Snailclimb pushed a commit that referenced this issue Dec 6, 2019
Snailclimb pushed a commit that referenced this issue Dec 27, 2019
Snailclimb pushed a commit that referenced this issue Feb 12, 2020
Snailclimb pushed a commit that referenced this issue Mar 4, 2020
Snailclimb pushed a commit that referenced this issue Apr 12, 2020
Snailclimb pushed a commit that referenced this issue Apr 26, 2020
Snailclimb pushed a commit that referenced this issue Jun 17, 2020
Update JavaConcurrencyAdvancedCommonInterviewQuestions.md
Snailclimb pushed a commit that referenced this issue Aug 23, 2020
jdk动态代理实际使用中,new DebugProxy()代码有误
Snailclimb pushed a commit that referenced this issue Oct 20, 2020
Snailclimb pushed a commit that referenced this issue Apr 2, 2021
Snailclimb pushed a commit that referenced this issue May 19, 2021
Update ArrayList源码+扩容机制分析.md
Snailclimb pushed a commit that referenced this issue Sep 10, 2021
Update InnoDB对MVCC的实现.md
Snailclimb pushed a commit that referenced this issue Mar 14, 2022
Snailclimb pushed a commit that referenced this issue Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests