Print this page
rev 4535 : 6725714: par compact - add a table to speed up bitmap searches
Reviewed-by: jmasa, tschatzl

Split Split Close
Expand all
Collapse all
          --- old/src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.hpp
          +++ new/src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.hpp
↓ open down ↓ 121 lines elided ↑ open up ↑
 122  122  
 123  123    void post_initialize();
 124  124    void update_counters();
 125  125    // The alignment used for the various generations.
 126  126    size_t perm_gen_alignment()  const { return _perm_gen_alignment; }
 127  127    size_t young_gen_alignment() const { return _young_gen_alignment; }
 128  128    size_t old_gen_alignment()  const { return _old_gen_alignment; }
 129  129  
 130  130    // The alignment used for eden and survivors within the young gen
 131  131    // and for boundary between young gen and old gen.
 132      -  size_t intra_heap_alignment() const { return 64 * K; }
      132 +  size_t intra_heap_alignment() const { return 64 * K * HeapWordSize; }
 133  133  
 134  134    size_t capacity() const;
 135  135    size_t used() const;
 136  136  
 137  137    // Return "true" if all generations (but perm) have reached the
 138  138    // maximal committed limit that they can reach, without a garbage
 139  139    // collection.
 140  140    virtual bool is_maximal_no_gc() const;
 141  141  
 142  142    // Return true if the reference points to an object that
↓ open down ↓ 159 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX