Skip to content
Advertisement

Tag: intrinsics

What is the difference between Java intrinsic and native methods?

Java intrinsic functions are mentioned in various places (e.g. here). My understanding is that these are methods that handled with special native code. This seems similar to a JNI method which is also a block of native code. What is the difference? Answer The JIT knows about intrinsics, so it can inline the relevant machine instruction into the code it’s

Advertisement