src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp

changeset 5459
7b06ae405d7b
parent 5369
71180a6e5080
child 5461
ca9dedeebdec
     1.1 --- a/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp	Thu Jul 18 09:35:02 2013 -0700
     1.2 +++ b/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp	Tue Jul 23 09:49:11 2013 -0700
     1.3 @@ -749,6 +749,7 @@
     1.4    Generation* _young_gen;  // the younger gen
     1.5    HeapWord** _top_addr;    // ... Top of Eden
     1.6    HeapWord** _end_addr;    // ... End of Eden
     1.7 +  Mutex*     _eden_chunk_lock;
     1.8    HeapWord** _eden_chunk_array; // ... Eden partitioning array
     1.9    size_t     _eden_chunk_index; // ... top (exclusive) of array
    1.10    size_t     _eden_chunk_capacity;  // ... max entries in array
    1.11 @@ -950,6 +951,7 @@
    1.12  
    1.13    // Support for parallel remark of survivor space
    1.14    void* get_data_recorder(int thr_num);
    1.15 +  void sample_eden_chunk();
    1.16  
    1.17    CMSBitMap* markBitMap()  { return &_markBitMap; }
    1.18    void directAllocated(HeapWord* start, size_t size);
    1.19 @@ -1027,6 +1029,8 @@
    1.20  
    1.21    // Initialization errors
    1.22    bool completed_initialization() { return _completed_initialization; }
    1.23 +
    1.24 +  void print_eden_and_survivor_chunk_arrays();
    1.25  };
    1.26  
    1.27  class CMSExpansionCause : public AllStatic  {
    1.28 @@ -1317,6 +1321,10 @@
    1.29      //Delegate to collector
    1.30      return collector()->get_data_recorder(thr_num);
    1.31    }
    1.32 +  void sample_eden_chunk() {
    1.33 +    //Delegate to collector
    1.34 +    return collector()->sample_eden_chunk();
    1.35 +  }
    1.36  
    1.37    // Printing
    1.38    const char* name() const;

mercurial