src/cpu/sparc/vm/assembler_sparc.cpp

changeset 1115
a80d48f6fde1
parent 1100
c89f86385056
parent 1112
96b229c54d1e
child 1145
e5b0439ef4ae
     1.1 --- a/src/cpu/sparc/vm/assembler_sparc.cpp	Tue Mar 31 10:02:01 2009 -0700
     1.2 +++ b/src/cpu/sparc/vm/assembler_sparc.cpp	Thu Apr 02 05:22:02 2009 -0700
     1.3 @@ -4234,7 +4234,6 @@
     1.4  static jint num_ct_writes = 0;
     1.5  static jint num_ct_writes_filtered_in_hr = 0;
     1.6  static jint num_ct_writes_filtered_null = 0;
     1.7 -static jint num_ct_writes_filtered_pop = 0;
     1.8  static G1CollectedHeap* g1 = NULL;
     1.9  
    1.10  static Thread* count_ct_writes(void* filter_val, void* new_val) {
    1.11 @@ -4247,25 +4246,19 @@
    1.12      if (g1 == NULL) {
    1.13        g1 = G1CollectedHeap::heap();
    1.14      }
    1.15 -    if ((HeapWord*)new_val < g1->popular_object_boundary()) {
    1.16 -      Atomic::inc(&num_ct_writes_filtered_pop);
    1.17 -    }
    1.18    }
    1.19    if ((num_ct_writes % 1000000) == 0) {
    1.20      jint num_ct_writes_filtered =
    1.21        num_ct_writes_filtered_in_hr +
    1.22 -      num_ct_writes_filtered_null +
    1.23 -      num_ct_writes_filtered_pop;
    1.24 +      num_ct_writes_filtered_null;
    1.25  
    1.26      tty->print_cr("%d potential CT writes: %5.2f%% filtered\n"
    1.27 -                  "   (%5.2f%% intra-HR, %5.2f%% null, %5.2f%% popular).",
    1.28 +                  "   (%5.2f%% intra-HR, %5.2f%% null).",
    1.29                    num_ct_writes,
    1.30                    100.0*(float)num_ct_writes_filtered/(float)num_ct_writes,
    1.31                    100.0*(float)num_ct_writes_filtered_in_hr/
    1.32                    (float)num_ct_writes,
    1.33                    100.0*(float)num_ct_writes_filtered_null/
    1.34 -                  (float)num_ct_writes,
    1.35 -                  100.0*(float)num_ct_writes_filtered_pop/
    1.36                    (float)num_ct_writes);
    1.37    }
    1.38    return Thread::current();

mercurial