Mercurial > hg > truffle
comparison src/share/vm/oops/klass.hpp @ 4860:34e2e90e7182
7130476: Remove use of #ifdef TRACE_DEFINE_KLASS_TRACE_ID from klass.hpp
Reviewed-by: kamg, phh, dsamersoff
Contributed-by: Rickard Backman <rickard.backman@oracle.com>
author | rbackman |
---|---|
date | Tue, 24 Jan 2012 14:48:22 +0100 |
parents | 4f3ce9284781 |
children | 33df1aeaebbf 9a9bb0010c91 |
comparison
equal
deleted
inserted
replaced
4854:de268c8a8075 | 4860:34e2e90e7182 |
---|---|
263 // (the 64-bit chunk goes first, to avoid some fragmentation) | 263 // (the 64-bit chunk goes first, to avoid some fragmentation) |
264 jlong _last_biased_lock_bulk_revocation_time; | 264 jlong _last_biased_lock_bulk_revocation_time; |
265 markOop _prototype_header; // Used when biased locking is both enabled and disabled for this type | 265 markOop _prototype_header; // Used when biased locking is both enabled and disabled for this type |
266 jint _biased_lock_revocation_count; | 266 jint _biased_lock_revocation_count; |
267 | 267 |
268 #ifdef TRACE_DEFINE_KLASS_TRACE_ID | |
269 TRACE_DEFINE_KLASS_TRACE_ID; | 268 TRACE_DEFINE_KLASS_TRACE_ID; |
270 #endif | |
271 public: | 269 public: |
272 | 270 |
273 // returns the enclosing klassOop | 271 // returns the enclosing klassOop |
274 klassOop as_klassOop() const { | 272 klassOop as_klassOop() const { |
275 // see klassOop.hpp for layout. | 273 // see klassOop.hpp for layout. |
686 int atomic_incr_biased_lock_revocation_count(); | 684 int atomic_incr_biased_lock_revocation_count(); |
687 void set_biased_lock_revocation_count(int val) { _biased_lock_revocation_count = (jint) val; } | 685 void set_biased_lock_revocation_count(int val) { _biased_lock_revocation_count = (jint) val; } |
688 jlong last_biased_lock_bulk_revocation_time() { return _last_biased_lock_bulk_revocation_time; } | 686 jlong last_biased_lock_bulk_revocation_time() { return _last_biased_lock_bulk_revocation_time; } |
689 void set_last_biased_lock_bulk_revocation_time(jlong cur_time) { _last_biased_lock_bulk_revocation_time = cur_time; } | 687 void set_last_biased_lock_bulk_revocation_time(jlong cur_time) { _last_biased_lock_bulk_revocation_time = cur_time; } |
690 | 688 |
691 #ifdef TRACE_DEFINE_KLASS_METHODS | |
692 TRACE_DEFINE_KLASS_METHODS; | 689 TRACE_DEFINE_KLASS_METHODS; |
693 #endif | |
694 | 690 |
695 // garbage collection support | 691 // garbage collection support |
696 virtual void follow_weak_klass_links( | 692 virtual void follow_weak_klass_links( |
697 BoolObjectClosure* is_alive, OopClosure* keep_alive); | 693 BoolObjectClosure* is_alive, OopClosure* keep_alive); |
698 | 694 |