My Oracle Support Banner

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 FEBRUARY 03, 2022

Applies to:

Oracle Database - Enterprise Edition - Version and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata 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.

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.


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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.