What are the make/solaris/makefiles/reorder_* files ?

Vladimir Kozlov Vladimir.Kozlov at Sun.COM
Tue Dec 16 19:41:32 PST 2008


These files are used by solaris linker to map hot VM methods
into first memory pages for libjvm.so to improve startup (C1)
and performance of VM code (C2). Several years ago it gave
us up to 2% improvement in jbb2000.

The script make/solaris/reorder.sh was used to generate these files,
it builds libmcount.so from JDK sources jdk/make/tools/reorder/
and profiled version of VM to use hprof tool to find hot methods
(reorder_* files contain the list of all VM methods ordered
by invocation count) by running several benchmarks and collecting data.

But the script is broken now. Several years ago I thought to fix
it and clean reorder_* files to avoid long list of warnings
when product version of libjvm.so is built. But I never had time
to finish it. There was also an idea to use Sun's Performance Analyzer
to generated these map files.

And I think, reorder_COMPILER1_amd64 is copy of reorder_COMPILER1_i486.

Thanks,
Vladimir

David Holmes - Sun Microsystems wrote:
> Eg make/solaris/makefiles/reorder_COMPILER1_amd64
> 
> What are these files? How are they generated and maintained?
> 
> Thanks,
> David Holmes



More information about the hotspot-dev mailing list