frohoff/jdk8u-jdk
View on GitHub ↗ ★ 209 Java archived
3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2019-12-30 · latest 2022-12-13
20082026
-
…for quite a while. For example, Java's EnumSet uses a long if the enum has less than 64 values: https://github.com/frohoff/jdk8u-jdk/blob/master/src/share/c... Where add() uses `|= bitmask`, remove() uses `&= ~bitmask`, and size() uses a…
comment by peeters · 2022-12-13 · in A neat XOR trick -
Here's the code in question: https://github.com/frohoff/jdk8u-jdk/blob/master/src/share/c...
comment by syspec · 2021-12-14 · in Java 17 depends on DNS lookups for hashing a web URL -
…to spin an InnerClass at runtime. To be fair, it's a hotspot thing and not in the JVM spec. [0]: https://github.com/frohoff/jdk8u-jdk/blob/master/src/share/c...
comment by kjeetgill · 2019-12-30 · in Why are my Go executable files so large?