hotspot/src/share/vm/gc_interface/collectedHeap.hpp
changeset 7397 5b173b4ca846
parent 6759 67b1a69ef5aa
child 9935 51267b5e1a3d
equal deleted inserted replaced
7396:518b01b064ff 7397:5b173b4ca846
    20  * or visit www.oracle.com if you need additional information or have any
    20  * or visit www.oracle.com if you need additional information or have any
    21  * questions.
    21  * questions.
    22  *
    22  *
    23  */
    23  */
    24 
    24 
       
    25 #ifndef SHARE_VM_GC_INTERFACE_COLLECTEDHEAP_HPP
       
    26 #define SHARE_VM_GC_INTERFACE_COLLECTEDHEAP_HPP
       
    27 
       
    28 #include "gc_interface/gcCause.hpp"
       
    29 #include "memory/allocation.hpp"
       
    30 #include "memory/barrierSet.hpp"
       
    31 #include "runtime/handles.hpp"
       
    32 #include "runtime/perfData.hpp"
       
    33 #include "runtime/safepoint.hpp"
       
    34 
    25 // A "CollectedHeap" is an implementation of a java heap for HotSpot.  This
    35 // A "CollectedHeap" is an implementation of a java heap for HotSpot.  This
    26 // is an abstract class: there may be many different kinds of heaps.  This
    36 // is an abstract class: there may be many different kinds of heaps.  This
    27 // class defines the functions that a heap must implement, and contains
    37 // class defines the functions that a heap must implement, and contains
    28 // infrastructure common to all heaps.
    38 // infrastructure common to all heaps.
    29 
    39 
   642     assert(SafepointSynchronize::is_at_safepoint(),
   652     assert(SafepointSynchronize::is_at_safepoint(),
   643           "This method manipulates heap state without locking");
   653           "This method manipulates heap state without locking");
   644     _heap->set_gc_cause(_previous_cause);
   654     _heap->set_gc_cause(_previous_cause);
   645   }
   655   }
   646 };
   656 };
       
   657 
       
   658 #endif // SHARE_VM_GC_INTERFACE_COLLECTEDHEAP_HPP