Mercurial > hg > truffle
comparison src/share/vm/memory/gcLocker.hpp @ 14422:2b8e28fdf503
Merge
author | kvn |
---|---|
date | Tue, 05 Nov 2013 17:38:04 -0800 |
parents | 2c022e432e10 |
children | de6a9e811145 |
comparison
equal
deleted
inserted
replaced
14421:3068270ba476 | 14422:2b8e28fdf503 |
---|---|
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 |