diff -r 8726d73d17fb -r 6efbc7ffd767 hotspot/src/share/vm/gc/g1/dirtyCardQueue.hpp --- 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(); + } + using PtrQueue::byte_width_of_index; + + static ByteSize byte_offset_of_buf() { + return PtrQueue::byte_offset_of_buf(); + } + using PtrQueue::byte_width_of_buf; + };