Hacker GitHub

← All repos

openjdk/jdk

View on GitHub ↗ ★ 23,492 Java

JDK main-line development https://openjdk.org/projects/jdk

129 mentions on Hacker News by 93 people: 17 stories, 112 comments · first 2019-04-25 · latest 2026-10-25

Mentions per year 129 mentions · busiest year 2023 (28)
20082026
  1. ▲ 1
    OpenJDK randomly(?) removes all eMudhra root CAs
    story by ktkaufman · 2026-10-25 · 3 comments
  2. ▲ 3
    JEP 401: Value Objects and JEP 539: Strict Field Initialization Merged into JDK
    story by matt2000 · 2026-07-31 · 0 comments
  3. https://github.com/openjdk/jdk/pull/31120#issuecomment-51378...
  4. …<-> 127 The cache can be extended on startup with env var `java.lang.Integer.IntegerCache.high ` https://github.com/openjdk/jdk/blob/cc278dbb8a1ca0754d584270...
  5. …and commits work in the OpenJDK repository -- a bot squashes each pull request into one commit: https://github.com/openjdk/jdk/pull/31120#issuecomment-51378... The final singular commit is cc278db (8389219: Implement JEP 401: Value Objects…
  6. The MR is closed This is it https://github.com/openjdk/jdk/commit/cc278dbb8a1ca0754d5842...
  7. ▲ 237
    JEP 401: Value Objects (Preview) merged to OpenJDK master
    story by mfiguiere · 2026-07-31 · 175 comments
  8. …virtual machine has 12: https://www.erlang.org/docs/25/man/erts_alloc.html jvm has at least 5: https://github.com/openjdk/jdk/blob/master/src/hotspot/share... postgres has at least 8: https://github.com/postgres/postgres/blob/master/src/bac…
    comment by dnautics · 2026-06-30 · in Zig – SPIR-V Backend Progress
  9. …object reference.) By default the cached values where -127 to 127, but that is tuneable at runtime. https://github.com/openjdk/jdk/blob/jdk-27%2B27/src/java.bas...
  10. …but the results weren't what I expected, so I took it out) BTW, here's a list of our intrinsics: https://github.com/openjdk/jdk/blob/master/src/hotspot/share... As you might notice, they include SIMD intrinsics offered through…
    comment by pron · 2026-06-06 · in Every Byte Matters
  11. ▲ 3
    Valhalla when? "Now"? Java 27 or 28?
    story by lichtenberger · 2026-05-29 · 0 comments
  12. …started transferring to the main line, but will require many tests to know if they have any issues. https://github.com/openjdk/jdk/pull/31120
  13. ▲ 4
    Pull Request: Java language implementation of value classes and objects
    story by munksbeer · 2026-05-11 · 0 comments
  14. …a bug from day one." [2] [1] https://www.linux.com/news/preventing-supply-chain-attacks-l... [2] https://github.com/openjdk/jdk/pull/9152#issue-1270543997
    comment by jgneff · 2026-05-10 · in Debian must ship reproducible packages
  15. …be set manually, but if there's some unusual environment or condition, they can be helpful. [1]: https://github.com/openjdk/jdk/blob/master/src/hotspot/share...
    comment by pron · 2026-04-12 · in JVM Options Explorer
  16. …nel.org/pub/scm/linux/kernel/git/torvalds/lin... [2] https://git.ffmpeg.org/gitweb/ffmpeg.git/log [3] https://github.com/openjdk/jdk/commits/master/src/hotspot [4] https://github.com/openssl/openssl/commits/master/ [5]…
    comment by alt_422568 · 2026-04-09 · in Git commands I run before reading any code
  17. Lazy Constants looked interesting. The impl uses unsafe: https://github.com/openjdk/jdk/blob/master/src/java.base/sha...
    comment by winrid · 2026-03-18 · in Java 26 is here
  18. …cost to accessing class fields, as exampled by this (now-replaced) code in the JDK itself - https://github.com/openjdk/jdk/blob/jdk8-b120/jdk/src/share/...
    comment by dekelpilli · 2026-03-18 · in Python 3.15's JIT is now back on track
  19. Follow-up questions: Do you test manually? Why? Do you debug manually? Why? You wanted examples: https://github.com/openjdk/jdk/tree/master/test/jdk/java/uti...
    comment by PinkSheep · 2026-02-02 · in Kernighan on Programming
  20. Java chooses to use the cycle method mostly. They also reference Bentley. https://github.com/openjdk/jdk/blob/f1e0e0c25ec62a543b9cbfab...
  21. …special for Floats" code. [0] https://docs.oracle.com/en/java/javase/17/docs/api/java.base... [1] https://github.com/openjdk/jdk/blob/master/src/java.base/sha...
  22. …it's mostly software written in C++ and that software allocates "its own heap" using uh... malloc https://github.com/openjdk/jdk/blob/master/src/hotspot/share...
  23. ▲ 5
    Support for UUID Version 7 (UUIDv7) added to Java 26
    story by mfiguiere · 2025-11-04 · 1 comment
  24. ▲ 1
    Improvements to Java primitive array sotring
    story by spullara · 2025-09-23 · 0 comments
  25. I believe, Oracle JVM uses polling? This is the class responsible for safepoints: https://github.com/openjdk/jdk/blob/4b544f93ad0e2beae4c80e06... And this is one of the implementations: https://github.com/openjdk/jdk/blob/4b544f93ad0e2beae4…
    comment by cyberax · 2025-09-20 · in Safepoints and Fil-C
  26. …bunch of code which looks like it's trying to do the right kind of escaping for msvcrt vs cmd.exe: https://github.com/openjdk/jdk/blob/jdk-26%2B1/src/java.base... But i would be lying if i said i understood what was going on there. Some…
  27. …specific bin is converted into a RB tree. This is detailed in implementation notes comment here: https://github.com/openjdk/jdk/blob/56468c42bef8524e53a929dc...
    comment by 77 · 2025-05-02 · in Strings Just Got Faster
  28. …How it tells the JVM this? It uses the internal annotation @jdk.internal.ValueBased https://github.com/openjdk/jdk/blob/jdk-17-ga/src/java.base/...
    comment by amiga386 · 2025-05-02 · in Strings Just Got Faster
  29. Define mostly, https://github.com/openjdk/jdk - Java 74.1% - C++ 14.0% - C 7.9% - Assembly 2.7% And those values have been increasing for Java with each OpenJDK release.
    comment by pjmlp · 2025-03-17 · in Zlib-rs is faster than C
  30. > if javac involves IR, SSA based analysis and transformation (which I assume it does) https://github.com/openjdk/jdk/blob/master/src/jdk.compiler/... I am fairly certain that it does not. The JVM is a stack-machine. I wrote a compiler for…
    comment by sieve · 2025-02-21 · in TinyCompiler: A compiler in a week-end
  31. This is similar to how java.util.concurrent.atomic.LongAdder works: https://github.com/openjdk/jdk/blob/master/src/java.base/sha...
    comment by oftenwrong · 2025-02-04 · in The Slotted Counter Pattern (2020)
  32. Java https://github.com/openjdk/jdk/blob/master/Makefile Rust https://github.com/rust-lang/rust/blob/master/tests/run-make... Go https://github.com/golang/go/blob/master/src/runtime/Makefil... NodeJS https://github.com/nodejs/node/blob/main…
    comment by dumah · 2025-01-31 · in A better build system for OCaml
  33. ▲ 3
    OpenJDK: x86_64 AVX512 intrinsics for Arrays.sort methods (2023)
    story by throwaway2037 · 2024-12-26 · 0 comments
  34. …bullshit themselves. (At which point it's just of dubious value instead of an outright negative) 0. https://github.com/openjdk/jdk/blob/master/src/java.base/sha...
  35. ▲ 14
    Compact Object Headers in Java 24
    story by lichtenberger · 2024-11-09 · 0 comments
  36. …note: the JDK deliberately randomizes iteration order of certain immutable sets and maps ( https://github.com/openjdk/jdk/blob/jdk-23%2B37/src/java.bas... ).
    comment by ljnelson · 2024-10-02 · in Hash Ordering and Hyrum's Law
  37. ….zip (and .jar and .tar ...) files as if they were a volume mounted at /home/user/foo.zip - e.g. https://github.com/openjdk/jdk/blob/jdk-21-ga/src/java.base/... It may be easier to reason about when thinking of the way $(mount -o loop)…
    comment by mdaniel · 2024-09-27 · in Tcl 9.0
  38. …strings. The Latin1 mode is used for compact storage of alphanumeric text as the name suggests: https://github.com/openjdk/jdk/blob/1ebf2cf639300728ffc02478...
    comment by neonsunset · 2024-08-20 · in Zed AI
  39. …÷ 6 doesn’t stand for π ÷ 6 , and could have been computed in another way. By the way, reading https://github.com/openjdk/jdk/blob/bd4160cea8b6b0fcf0507199... , these results may vary between Java implementations, possibly even between…
  40. …is something that languages/runtimes with more effort put into portability already handle for you: https://github.com/openjdk/jdk/blob/master/src/java.base/win... If Python doesn't do this it's just because the sort of people who write…
  41. …for equals call and they were keys to a HashMap - you'd only be able to put one of them in there. https://github.com/openjdk/jdk/blob/master/src/java.base/sha...
  42. ▲ 3
    Intel submitted OpenJDK PRs for supporting new 64 bit general purpose registers
    story by luckyou · 2024-05-02 · 1 comment
  43. …> to < https://sources.debian.org/src/openjdk-22/22.0.1%2B8-1/debia... > lead me to https://github.com/openjdk/jdk/tree/jdk-22-ga/src/hotspot/cp... It seems that it's a specific CPU target for the Hotspot JIT for non-mainstream…
    comment by mdaniel · 2024-04-30 · in Show HN: I Built a Java IDE for iPad
  44. The list is here: https://github.com/openjdk/jdk/blob/6d5699617ff0985104a8bb5f...
    comment by mike_hearn · 2024-04-21 · in JEP draft: Exception handling in switch
  45. Completely gutted from the OpenJDK, last I checked. See here for the culprit PR: https://github.com/openjdk/jdk/pull/18688
    comment by SpaghettiCthulu · 2024-04-19 · in Java 23: The New Features Are Officially Announced
  46. …13.7%, on the OpenJDK, other JVM implementations differ, e.g. GraalVM is mostly Java 91.8%, C 3.6%. https://github.com/openjdk/jdk https://github.com/oracle/graal Two examples from many others, https://en.wikipedia.org/wiki/List_of_Java_vir…
  47. …use of signal handlers in general. Hotspot continues to use signals for efficiency in general. See https://github.com/openjdk/jdk/blob/9059727df135dc90311bd476 ... This whole thread is about SIGSEGV, and specifically their SIGSEGV…
  48. …code in question takes into account that the value read might be garbage. See the big comment here: https://github.com/openjdk/jdk/commit/29397d29baac3b29083b1b... > On current CPUs and operating systems, this is not an optimization, so…
  49. …use of signal handlers in general . Hotspot continues to use signals for efficiency in general. See https://github.com/openjdk/jdk/blob/9059727df135dc90311bd476... > Be careful with fallacies suggesting only one side of an argument is…
  50. The "safe fetch" code relies on a signal handler (either here https://github.com/openjdk/jdk/blob/48717d63cc58f693f0917e61... or here https://github.com/openjdk/jdk/blob/3c70f26b2f3fa9bc143e2506... ), which is considered asynchronous…