equal
deleted
inserted
replaced
71 #include "runtime/signature.hpp" |
71 #include "runtime/signature.hpp" |
72 #include "runtime/stubRoutines.hpp" |
72 #include "runtime/stubRoutines.hpp" |
73 #include "runtime/timer.hpp" |
73 #include "runtime/timer.hpp" |
74 #include "utilities/align.hpp" |
74 #include "utilities/align.hpp" |
75 #include "utilities/copy.hpp" |
75 #include "utilities/copy.hpp" |
76 #if INCLUDE_ALL_GCS |
76 #if INCLUDE_G1GC |
77 #include "gc/g1/g1ThreadLocalData.hpp" |
77 #include "gc/g1/g1ThreadLocalData.hpp" |
78 #endif // INCLUDE_ALL_GCS |
78 #endif // INCLUDE_G1GC |
79 |
79 |
80 |
80 |
81 // -------------------- Compile::mach_constant_base_node ----------------------- |
81 // -------------------- Compile::mach_constant_base_node ----------------------- |
82 // Constant table base node singleton. |
82 // Constant table base node singleton. |
83 MachConstantBaseNode* Compile::mach_constant_base_node() { |
83 MachConstantBaseNode* Compile::mach_constant_base_node() { |
3751 |
3751 |
3752 // Verify GC barriers consistency |
3752 // Verify GC barriers consistency |
3753 // Currently supported: |
3753 // Currently supported: |
3754 // - G1 pre-barriers (see GraphKit::g1_write_barrier_pre()) |
3754 // - G1 pre-barriers (see GraphKit::g1_write_barrier_pre()) |
3755 void Compile::verify_barriers() { |
3755 void Compile::verify_barriers() { |
|
3756 #if INCLUDE_G1GC |
3756 if (UseG1GC) { |
3757 if (UseG1GC) { |
3757 // Verify G1 pre-barriers |
3758 // Verify G1 pre-barriers |
3758 const int marking_offset = in_bytes(G1ThreadLocalData::satb_mark_queue_active_offset()); |
3759 const int marking_offset = in_bytes(G1ThreadLocalData::satb_mark_queue_active_offset()); |
3759 |
3760 |
3760 ResourceArea *area = Thread::current()->resource_area(); |
3761 ResourceArea *area = Thread::current()->resource_area(); |
3810 } |
3811 } |
3811 } |
3812 } |
3812 } |
3813 } |
3813 } |
3814 } |
3814 } |
3815 } |
|
3816 #endif |
3815 } |
3817 } |
3816 |
3818 |
3817 #endif |
3819 #endif |
3818 |
3820 |
3819 // The Compile object keeps track of failure reasons separately from the ciEnv. |
3821 // The Compile object keeps track of failure reasons separately from the ciEnv. |