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 JULY 17, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.5 and later
Information in this document applies to any platform.

*** Checked for relevance on 17-Jul-2017 ***

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

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms