HNHacker News
TopNewBestAskShowJobs

GreenToad

38 karma · joined August 30, 2017

submissionscomments
GreenToad··on Java 22 Released
"Vector API" is universal api for SIMD. It will probably remain in incubator until valhalla delivers value types.
GreenToad··on Log4Shell update: second Log4j vulnerability published
> That class needs to be on the server already

If you are talking about original log4shell then no! Jndi will grab a class definition from ldap, load it and then deserialize it.

GreenToad··on Go does not need a Java-style GC

    Point[] array=new Point[15000];
In java would create an array with null references, to fill it up you need to create each object so that point is valid.
GreenToad··on Amazon Corretto JDK
Liberica JDK
GreenToad··on Java 17 / JDK 17: General Availability
It looks like jep 418, when delivered, might be used for that.
GreenToad··on Nextcloud Hub 21
https://en.wikipedia.org/wiki/Slashdot_effect
GreenToad··on Nextcloud Hub 21
anyone remembers the term "slashdotted"?
GreenToad··on Java.­math.­BigDecimal toString is not thread safe
In java lang specs: "A thread that can only see a reference to an object after that object has been completely initialized is guaranteed to see the correctly initialized values for that object's final fields." This makes it a JVM bug because no thread should be able to see uninitialized final fields of an object.