src/share/vm/memory/gcLocker.hpp

changeset 5769
2c022e432e10
parent 4299
f34d701e952e
child 6198
55fb97c4c58d
equal deleted inserted replaced
5719:719e886d4f72 5769:2c022e432e10
86 } 86 }
87 87
88 public: 88 public:
89 // Accessors 89 // Accessors
90 static bool is_active() { 90 static bool is_active() {
91 assert(_needs_gc || SafepointSynchronize::is_at_safepoint(), "only read at safepoint"); 91 assert(SafepointSynchronize::is_at_safepoint(), "only read at safepoint");
92 return is_active_internal(); 92 return is_active_internal();
93 } 93 }
94 static bool needs_gc() { return _needs_gc; } 94 static bool needs_gc() { return _needs_gc; }
95 95
96 // Shorthand 96 // Shorthand

mercurial