Mercurial > hg > truffle
comparison src/share/vm/memory/gcLocker.hpp @ 12873:4e7f99b70d9d
Merge
author | adlertz |
---|---|
date | Wed, 09 Oct 2013 05:03:34 -0700 |
parents | 2c022e432e10 |
children | de6a9e811145 |
comparison
equal
deleted
inserted
replaced
12872:98692a2d36d7 | 12873:4e7f99b70d9d |
---|---|
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 |