How to Tell if JIT was Used to Compile Java and the Difference Between IS_NATIVE and IS_COMPILED in ALL_JAVA_METHODS
(Doc ID 1469626.1)
Last updated on MARCH 14, 2025
Applies to:
Oracle Database - Enterprise Edition - Version 10.2.0.5 and laterOracle Database Cloud Schema Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Information in this document applies to any platform.
Goal
This Note will address the following questions:
1. How to tell if Oracle has compiled a class using JIT - Just-In-Time Compiler?
2. How to force Oracle to compile a class using JIT?
3. When will "IS_NATIVE" column say "YES" in the all_java_methods data dicationary view?
Test code and different scenarios will be used to demonstrate each of the above.
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |
References |