Short of the reading the OpenJDK source code (which I’m not averse to) is there a reasonably comprehensive (or ‘official’) list of intrinsic operations within the Hotspot JVM (say for Intel)?
For example, what’s the quickest way to determine whether Math.abs()
will generally be converted directly to a few native instructions wherever it is used?
Advertisement
Answer
The relevant part of the OpenJDK source code states:
“Here are all the intrinsics known to the runtime and the CI.”
So I suppose that’s comprehensive enough!