diff src/share/vm/oops/fieldStreams.hpp @ 3995:4a916f2ce331

8003985: Support @Contended Annotation - JEP 142 Summary: HotSpot changes to support @Contended annotation. Reviewed-by: coleenp, kvn, jrose Contributed-by: Aleksey Shipilev <aleksey.shipilev@oracle.com>
author jwilhelm
date Mon, 14 Jan 2013 15:17:47 +0100
parents da91efe96a93
children b2e698d2276c
line wrap: on
line diff
--- a/src/share/vm/oops/fieldStreams.hpp	Fri Jan 11 09:53:24 2013 -0800
+++ b/src/share/vm/oops/fieldStreams.hpp	Mon Jan 14 15:17:47 2013 +0100
@@ -160,9 +160,26 @@
     return field()->offset();
   }
 
+  int allocation_type() const {
+    return field()->allocation_type();
+  }
+
   void set_offset(int offset) {
     field()->set_offset(offset);
   }
+
+  bool is_offset_set() const {
+    return field()->is_offset_set();
+  }
+
+  bool is_contended() const {
+    return field()->is_contended();
+  }
+
+  int contended_group() const {
+    return field()->contended_group();
+  }
+
 };
 
 // Iterate over only the internal fields