3 ms·
The intrinsics for the HotSpot JVM are declared here: http://hg.openjdk.java.net/jdk10/jdk10/hotspot/file/5ab7a67bc155/src/share/vm/classfile/vmSymbols.hpp#l679
by nicoulaj 9y ago
The intrinsics for the HotSpot JVM are declared here: http://hg.openjdk.java.net/jdk10/jdk10/hotspot/file/5ab7a67bc155/src/share/vm/classfile/vmSymbols.hpp#l679 http://hg.openjdk.java.net/jdk10/jdk10/hotspot/file/5ab7a67b...
(look for "java_lang_Math" for instance)
- rplnt 9y agoAre you telling us it's not a secret then?
- sudhirj 9y agoDon’t know if this is sarcasm, but no, doubtful it’s a secret. Or might depend on the JVM license. OpenJDK obviously has no secrets. But otherwise, assembly overrides for hot paths in execution targets that support them aren’t actually a big secret, just that they’re rarely visible. Think Go has a lot of processed architecture specific assembly for some functions, especially crypto iirc.
- rplnt 9y agoYeah, it was a sarcasm. The article (quoted in parent comment) called it a secret implementation.