Hacker GitHub

← All repos

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

Mentions per year 3 mentions · busiest year 2019 (1)
20082026
  1. …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
  2. Here's the code in question: https://github.com/frohoff/jdk8u-jdk/blob/master/src/share/c...
  3. …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?