Question about the PrintMethodStatistics report
Christian Thalinger
Christian.Thalinger at Sun.COM
Wed Nov 25 01:47:29 PST 2009
On Tue, 2009-11-24 at 17:20 -0200, Francis Rangel wrote:
> Hi there!
>
> I'm new here and I want to introduce myself. My name is Francis Rangel
> and I'm a computing student. My final paper subject is the inline
> optimization of the openJDK JVM.
> Well, what I need to know is why the PrintMethodStatistics report
> changes the amount of each kind of method using diferent compilers.
> For example, when the programa run with the -server option, the static
> methods are 100. Then, when the -client compiler is used, the static
> methods come do 90.
> If the program wasn't modified, why does this numbers change?
> Is that because the devirtualization applied on virtual methods?
It does not show different numbers for me. One possibility could be
that your environment is different (e.g. LANG) and so different classes
are loaded (given you're not using the same terminal to run the
program).
What program is this? You can try -XX:+PrintSystemDictionaryAtExit and
compare the output of a C1 and C2 run.
-- Christian
More information about the hotspot-compiler-dev
mailing list