RFR: 8248877: Document API contract for MetaspaceObj subtypes

Ioi Lam iklam at openjdk.java.net
Mon Jun 7 23:40:34 UTC 2021


On Thu, 3 Jun 2021 00:36:56 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> This PR adds documentation for the (non-virtual) functions that subtypes of MetaspaceObj are required to implement in order for certain templates to work properly. 
> 
> Requested by @rose00 (sorry I took a long time ....).

I cleaned up the comments per Coleen's comments. I also removed the "debug only" comment about on_stack() since in most cases they are inline functions and will be elided by the compiler anyway.

-------------

PR: https://git.openjdk.java.net/jdk/pull/4327


More information about the hotspot-runtime-dev mailing list