RFR: 8143014: Access PtrQueue member offsets through derived classes

Jon Masamitsu jon.masamitsu at oracle.com
Tue Nov 17 18:12:20 UTC 2015


Looks good although I have one question.  In

76 using PtrQueue::byte_width_of_index;


80 using PtrQueue::byte_width_of_index;

Are the "using" statements actually needed?  Or are they future proofing?


On 11/15/2015 12:39 PM, Kim Barrett wrote:
> Please review this cleanup of the API for accessing member offset
> information for SATBMarkQueue and DirtyCardQueue.  Clients now access
> the specific queue class information.  In addition, JVMCI now uses the
> same API for obtaining the information as is used by other compilers
> and interpreters.
> Also moved the vmStruct declarations for PtrQueue and members to
> vmStructs_g1.hpp, as that class is G1-specific.
> CR:
> https://bugs.openjdk.java.net/browse/JDK-8143014
> Webrev:
> http://cr.openjdk.java.net/~kbarrett/8143014/webrev.00/
> Testing:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/hotspot-gc-dev/attachments/20151117/061524dc/attachment.htm>

More information about the hotspot-gc-dev mailing list