--- a/hotspot/src/share/vm/gc/g1/dirtyCardQueue.hpp Tue Nov 17 12:37:55 2015 +0000
+++ b/hotspot/src/share/vm/gc/g1/dirtyCardQueue.hpp Tue Nov 17 16:40:52 2015 -0500
@@ -72,6 +72,18 @@
void **get_buf() { return _buf;}
size_t get_index() { return _index;}
void reinitialize() { _buf = 0; _sz = 0; _index = 0;}
+
+ // Compiler support.
+ static ByteSize byte_offset_of_index() {
+ return PtrQueue::byte_offset_of_index<DirtyCardQueue>();
+ }
+ using PtrQueue::byte_width_of_index;
+
+ static ByteSize byte_offset_of_buf() {
+ return PtrQueue::byte_offset_of_buf<DirtyCardQueue>();
+ }
+ using PtrQueue::byte_width_of_buf;
+
};