Could the JIT be started before JVMTI agents are loaded?

Daniel D. Daugherty Daniel.Daugherty at Sun.COM
Thu Jun 25 08:08:57 PDT 2009


Alan Bateman wrote:
> Daniel D. Daugherty wrote:
>> The compiler is initialized after JVMTI has posted the VM_INIT
>> event intentionally. The compiler may have to initialize differently
>> depending on the capabilities that were enabled by the JVMTI agent.
>>
>> Dan
> We should be in the live phase at this point, do you mean capabilities 
> enabled in the onload phase?

I generically mean things done by the VM_INIT event handler
in the agent's code. Could be more capabilities, could be
other "things".

The VM_INIT event marks a specific point in time during VM
bringup. Starting the compiler before VM_INIT would not be
right because that would change expectations. It might even
be a spec violation, but I didn't crack open the spec this
AM. Sorry, working on JavaFX stuff at the moment... :-)

Dan




More information about the hotspot-dev mailing list