Interesting Links [0x02]
Bugs, bugs, bugs! This week’s links are dedicated to bugs, which led on to some really contorted bug hunting journeys for some, and others, some great stories to tell.
- JVM statistics collection causes GC pauses
- JVM optimization reclaims object ‘prematurely’, crashing application
Note: The JVM is correct; coders are being surprised for not following the Java Language Specification(JLS) to the letter. In fact, JLS 12.6.1 justifies the JVM making the optimization, however unintuitive it is.
- Java applications that uses that random number generator can ‘hang’
This ‘bug’ has been hit so commonly when we test our JVM with 3rd party applications, that I have it for citation on my bookmarks. The issue is with the OS’s random number generator running out of entropy. (It is
dev/random’s fault, pinky swear!)
- JVM command line length affects performance
Boys and girls, time to bring out our tin-foil hats!
The non-JVM related bug for the day, is a really good read of all the high impact, 1-liner bugs that has resulted in quite a fair number of high-profile security vulnerabilities in recent times: