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
20082026
-
…several modules because JCA is pluggable. But for example a lot of the crypto code is found here: https://github.com/openjdk/jdk/tree/master/src/java.base/sha... 5. Oracle maintains it but other companies contribute, like Amazon,…
comment by native_samples · 2021-12-02 · in This shouldn't have happened: A vulnerability postmortem -
…JITs do execution an icache flush, and Rosetta does catch it to invalidate their code. For example https://github.com/openjdk/jdk/blob/master/src/hotspot/cpu/x... Otherwise, how do you think it works?
comment by chrisseaton · 2021-11-30 · in Asmrepl: REPL for x86 Assembly Language -
…is why [1] exists. Update: found the JDK code [2] [1] https://tools.suckless.org/x/wmname/ [2] https://github.com/openjdk/jdk/blob/9759fcb17b62d76d75b89348...
comment by IiydAbITMvJkqKf · 2021-11-03 · in How X Window Managers Work, and How to Write One (2014) -
…having to provide the source to your own code (see '"CLASSPATH" EXCEPTION TO THE GPL' at the end): https://github.com/openjdk/jdk/blob/master/LICENSE This is substantially the same as the GCC Runtime Library Exception, which lets you…
comment by twic · 2021-09-19 · in Revisiting Java in 2021 – Part II -
…To me, this sounds like one of those Apache grand ideas that won't go anywhere, but we'll see. [1] https://github.com/openjdk/jdk/blob/master/LICENSE [2] https://opensource.stackexchange.com/questions/1410/what-is-... [3]…
comment by twic · 2021-09-19 · in Revisiting Java in 2021 – Part II -
…performance improvement by switching from the single-branch implementation to the branchless one: https://github.com/openjdk/jdk/pull/4711
comment by jonas21 · 2021-08-23 · in One does not simply calculate the absolute value -
…of this edge case. So it would work, but a lot slower than the version given in the article. 0: https://github.com/openjdk/jdk/blob/36e2ddad4d2ef3ce27475af6...
comment by kmm · 2021-08-22 · in One does not simply calculate the absolute value -
…like bad developers might do an awful in job in whatever language they used? Can't be true... [1] https://github.com/openjdk/jdk/blob/master/src/java.base/sha...
comment by NovaX · 2021-08-10 · in Growing object-oriented software vs. what I would do -
…to associate with an Object in the backing Map private static final Object PRESENT = new Object(); https://github.com/openjdk/jdk/blob/master/src/java.base/sha... A thread-safe implementation is available with…
comment by cmckn · 2021-07-26 · in Map[string]interface{} in Go: a user's manual -
…rng period but I see the linked code [1] uses an implementation [2] with a period of 2^128-1 [1] https://github.com/openjdk/jdk/blob/4927ee426aedbeea0f4119ba... [2] https://en.wikipedia.org/wiki/Xorshift
comment by jffry · 2021-07-22 · in JVM Anatomy Quark #26: Identity Hash Code -
Yes, and it's available on GitHub now! Here's the heap implementation, for example: https://github.com/openjdk/jdk/blob/master/src/hotspot/share... The GraalVM is a Java implementation of the Java compiler and VM and it's also on GitHub:…
comment by brabel · 2021-05-15 · in Java JDK 1.0 (1996) -
…to be 1,1,2 bytes instead. [1] https://blog.polybdenum.com/2021/05/05/how-i-hacked-google-a... [2] https://github.com/openjdk/jdk/commit/eedc99c9ab2647f0233e48...
comment by gzer0 · 2021-05-15 · in Java JDK 1.0 (1996) -
…yourself! They removed the sharing between string values when you created a substring a while ago. https://github.com/openjdk/jdk/commit/f55750d05a04484b719220...
comment by chrisseaton · 2021-04-11 · in The Kitten Programming Language -
▲ 2
Port of OpenJDK to Apple M1 Mergedstory by nwjsmith · 2021-03-25 · 0 comments
-
Since ZGC is in OpenJDK it should already be available in Zulu as well https://github.com/openjdk/jdk/tree/master/src/hotspot/share...
comment by novium · 2021-03-23 · in ZGC – What's new in JDK 16 -
…compiler'. Its lowest tier, C1, has a basic IR. OpenJDK does use a 'template interpreter'. https://github.com/openjdk/jdk/blob/master/src/hotspot/share...
comment by chrisseaton · 2021-02-08 · in Inline Caching: Quickening -
…is based on HotSpot's C2 compiler [2][3]. [1] https://www.infoq.com/news/2020/05/java-leyden/ [2] https://github.com/openjdk/jdk/pull/960#issuecomment-7220230... [3] https://cl4es.github.io/2020/12/06/Towards-OpenJDK-17.html
comment by kasperni · 2020-12-19 · in Why Java Is Dying -
Still does. Example: https://docs.oracle.com/en/java/javase/11/docs/api/index.htm... https://github.com/openjdk/jdk/blob/master/src/java.base/sha... I think Gophers borrowed the idea of generating docs from header/source comment from Java.…
comment by eternalban · 2020-09-10 · in Go modules have a v2+ problem -
https://github.com/openjdk/jdk/graphs/contributors How interesting, more and more activity? year by year
comment by KajMagnus · 2020-09-09 · in OpenJDK is now on GitHub -
https://github.com/openjdk/jdk
comment by pron · 2020-09-08 · in OpenJDK is now on GitHub -
HotSpot definitely uses five tiers (including the interpreter, so same as JSC). https://github.com/openjdk/jdk/blob/0aefe6f20ae719c9793c790d... I'll give you that levels 1-3 use the same IR, but that says more about the generality of the…
comment by monocasa · 2020-07-29 · in Speculation in JavaScriptCore -
…notice there's no pass to do this in Hotspot - it just happens due to the inlining and GCM passes. https://github.com/openjdk/jdk/blob/883a4f65b9b1533c8a51d156... And here's a paper on trying to add actual Fusion to Java, which they…
comment by chrisseaton · 2020-06-24 · in Haskell for a New Decade [pdf] -
They still have assemblers in them - they're just done with method calls rather than text. https://github.com/openjdk/jdk/blob/e73ce9b406c34bd460f0797f... Also if you look at the compiler's intermediate representation at the very last…
comment by chrisseaton · 2019-12-31 · in Assembly Language Programming: Still Relevant Today (2015) -
See this code: https://github.com/openjdk/jdk/blob/39c023612dbdd1016ad24b60... It only works when isatty() returns true on both stdin and stdout. If you redirect stdin from a file, but stdout still goes to tty, isatty() on stdout will…
comment by skissane · 2019-11-30 · in Improving CLIs with isatty -
…for example) that's generated at startup time, and written in assmebly as a C++ DSL. E.g. https://github.com/openjdk/jdk/blob/master/src/hotspot/cpu/x... and https://github.com/openjdk/jdk/blob/master/src/hotspot/cpu/x...
comment by pron · 2019-11-04 · in Build OpenJDK for a Nice Speedup -
…previously it was an Enterprise-only feature in that compiler. For example open source code in C2 https://github.com/openjdk/jdk/blob/497cb3f4f4ae7f86c1731396... . > Now since they are able to loop unroll it by analysing AST There's no AST…
comment by chrisseaton · 2019-09-25 · in Graal Autovectorization -
OpenJDK BigDecimal::doubleValue() goes via a string in certain situations https://github.com/openjdk/jdk/blob/master/src/java.base/sha...
comment by shellac · 2019-08-28 · in Python rounds float values by converting them to string and then back -
I'm pretty sure that's 100% immaterial to the argument but from 8 seconds on Google, here: https://github.com/openjdk/jdk C++: 13.9% C: 5.4% Or here: https://en.wikipedia.org/wiki/HotSpot "Written in C++, Assembly" Or here:…
comment by ketralnis · 2019-05-23 · in E Programming Language -
…outnumber "clazz" in OpenJDK, 1541 to 1021. Wonder if there's a reason they haven't settled on one. https://github.com/openjdk/jdk/search?q=klass https://github.com/openjdk/jdk/search?q=clazz
comment by MaxBarraclough · 2019-04-25 · in Interface Dispatch (2018)