V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
V2EX  ›  sun1992  ›  全部回复第 3 页 / 共 3 页
回复总数  56
1  2  3  
❮ ❯
今天有课,一个推荐优质网课,返利优惠买课的公众号
回复你需要购买课程的关键词,例如“前端”即可得到购买链接,通过链接购买成功后,点击下方菜单栏申请奖学金。

今天有课活动码:youke314422
2019 年 1 月 3 日
回复了 sun1992 创建的主题 › 程序员 › Spring 中互为别名的作用是啥?@AliasFor
@jakes 嗯 你这个有一定道理,简写的确方便一点。还有其他好处吗?
2019 年 1 月 3 日
回复了 sun1992 创建的主题 › 程序员 › Spring 中互为别名的作用是啥?@AliasFor
@werty “ Java 注解必须要有 value ” ,没有这个说法吧,没有 value 也是可以正常运行的
刚好要转租,温馨人家,江陵路滨和路地铁附近,1750,有意联系~
2017 年 11 月 10 日
回复了 sun1992 创建的主题 › 程序员 › jvm eden space 为什么会为 0K
这个是 jdk7u40 版本左右开始的 bug,jdk8 中已经修复

http://www.oracle.com/technetwork/java/javase/7u40-relnotes-2004172.html
jdk7u40 的 Update Release Notes 中有这个问题说明

````
Area: hotspot/gc
Synopsis: New minimum young generation size is not properly checked by the JVM.

In JDK 7u40, the minimum size of the young generation for the parallel garbage collector was increased from 192 KB to 768 KB in a 32-bit JVM, and to 1536 KB in a 64-bit JVM. This new minimum size is not properly checked by the JVM. If a young generation size that is smaller than the new minimum is specified on the command line, it can result in either a crash or degraded performance.

The young generation size is set by the options -XX:NewSize= and -XX:MaxNewSize=, or by the option -Xmn (the latter option is equivalent to setting both NewSize and MaxNewSize to ). If the above options are not used, then the young generation size is computed as a fraction of the maximum heap size.

Workaround: Use a young generation size that is at least 768 KB (for 32-bit JVM) or 1536 KB (for 64-bit JVM).
````
2017 年 11 月 9 日
回复了 sun1992 创建的主题 › 程序员 › jvm eden space 为什么会为 0K
详细参数
-XX:InitialHeapSize=20971520 -XX:MaxHeapSize=20971520 -XX:MaxNewSize=1048576 -XX:NewSize=1048576 -XX:+PrintCommandLineFlags -XX:+PrintGCDetails -XX:SurvivorRatio=2 -XX:+UseCompressedOops -XX:+UseParallelGC
2017 年 5 月 25 日
回复了 Andor_Chen 创建的主题 › Python › 送几本《流畅的 Python 》
万一中了呢
2015 年 10 月 26 日
回复了 sun1992 创建的主题 › 问与答 › 多线程或者分布在多台物理机上的程序一般如何调试?
嗯,除了日志还有其他的方法吗?另外,自己做一个基于日志的分布式调试工具难度有多大?
1  2  3  
❮ ❯
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1890 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 23ms · UTC 08:27 · PVG 16:27 · LAX 00:27 · JFK 03:27
♥ Do have faith in what you're doing.