hotspot/src/share/vm/gc/parallel/psParallelCompact.hpp
changeset 32623 390a27af5657
parent 30764 fec48bf5a827
child 33227 b00ec45f8c2c
equal deleted inserted replaced
32622:7ed47d0b888a 32623:390a27af5657
   301     //
   301     //
   302     // Minor subtlety:  claimed() returns true if the region is marked
   302     // Minor subtlety:  claimed() returns true if the region is marked
   303     // completed(), which is desirable since a region must be claimed before it
   303     // completed(), which is desirable since a region must be claimed before it
   304     // can be completed.
   304     // can be completed.
   305     bool available() const { return _dc_and_los < dc_one; }
   305     bool available() const { return _dc_and_los < dc_one; }
   306     bool claimed() const   { return _dc_and_los >= dc_claimed; }
   306     bool claimed()   const { return _dc_and_los >= dc_claimed; }
   307     bool completed() const { return _dc_and_los >= dc_completed; }
   307     bool completed() const { return _dc_and_los >= dc_completed; }
   308 
   308 
   309     // These are not atomic.
   309     // These are not atomic.
   310     void set_destination(HeapWord* addr)       { _destination = addr; }
   310     void set_destination(HeapWord* addr)       { _destination = addr; }
   311     void set_source_region(size_t region)      { _source_region = region; }
   311     void set_source_region(size_t region)      { _source_region = region; }
   977   static double _dwl_adjustment;
   977   static double _dwl_adjustment;
   978 #ifdef  ASSERT
   978 #ifdef  ASSERT
   979   static bool   _dwl_initialized;
   979   static bool   _dwl_initialized;
   980 #endif  // #ifdef ASSERT
   980 #endif  // #ifdef ASSERT
   981 
   981 
   982 
       
   983  public:
   982  public:
   984   static ParallelOldTracer* gc_tracer() { return &_gc_tracer; }
   983   static ParallelOldTracer* gc_tracer() { return &_gc_tracer; }
   985 
   984 
   986  private:
   985  private:
   987 
   986