comparison src/share/vm/gc_interface/collectedHeap.hpp @ 1972:f95d63e2154a

6989984: Use standard include model for Hospot Summary: Replaced MakeDeps and the includeDB files with more standardized solutions. Reviewed-by: coleenp, kvn, kamg
author stefank
date Tue, 23 Nov 2010 13:22:55 -0800
parents 8b10f48633dc
children 2aa9ddbb9e60
comparison
equal deleted inserted replaced
1971:e33f46fc48ed 1972:f95d63e2154a
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