trouble with java -Xpatch

Alan Bateman Alan.Bateman at oracle.com
Mon Apr 4 10:57:21 UTC 2016


On 04/04/2016 11:31, Michael Rasmussen wrote:
> Hi Alan
>
> Finally had time today to do some testing of can_generate_early_vmstart.
>
> Can you elaborate on which classes I should be able to patch using CFLH
> with early_vmstart enabled? From the quick testing I did, it appears that
> most of the core java.lang classes do not generate CFLH events? For
> instance java.lang.Class or java.lang.reflect.Method.
>
> A quick comparison with Java8, there are about 100 classes that do not
> generate CFLH events.
>
These are classes that are preloaded by VM in the primordial phase. 
You'll see a list in systemDictionary.hpp but don't use that list for 
anything as it highly implementation specific and could change at any time.

-Alan.


More information about the jigsaw-dev mailing list