Questions about different default value of NewRatio
Neo Jia
neojia at gmail.com
Fri May 11 04:27:05 UTC 2007
hi,
I just found that different compiler is using different ratio on JDK7,
which make sense. But for the same compiler, the default value will be
changed across different platforms. Is there any implementation
concern for this?
For example, why using two different value on 64 bit and 32 bit for
C2? I assume that the NewRatio will only impact the efficiency of the
minor GC.
1 31 hotspot/src/cpu/amd64/vm/c2_globals_amd64.hpp <<GLOBAL>>
define_pd_global(intx, NewRatio, 2);
2 28 hotspot/src/cpu/i486/vm/c1_globals_i486.hpp <<GLOBAL>>
define_pd_global(intx, NewRatio, 12 );
3 43 hotspot/src/cpu/i486/vm/c2_globals_i486.hpp <<GLOBAL>>
define_pd_global(intx, NewRatio, 8);
4 29 hotspot/src/cpu/ia64/vm/c2_globals_ia64.hpp <<GLOBAL>>
define_pd_global(intx, NewRatio, 2);
Thanks,
Neo
--
I would remember that if researchers were not ambitious
probably today we haven't the technology we are using!
More information about the hotspot-gc-dev
mailing list