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

David Holmes - Sun Microsystems David.Holmes at Sun.COM
Tue Dec 16 19:46:52 PST 2008


Thanks Vladimir. So these files are out of date in JDK7 too - hadn't 
realized that. It was the long list of linker warnings (in our product) 
that I wanted to get rid of too ... maybe I should just drop the use of 
the reorder list in the mapfile entry.

David

Vladimir Kozlov said the following on 12/17/08 13:41:
> 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