RFR (S): Make auxiliary data structures know their own translation factor

Thomas Schatzl thomas.schatzl at oracle.com
Thu Apr 9 14:09:06 UTC 2015


Hi all,

  can I have reviews for this change that cleans up recent changes to
memory management in G1. In particular, for every class that represents
an auxiliary data structure in G1 it adds (and then uses) a specific
function that returns the "heap mapping factor" (the amount of bytes a
particular byte of that data structure corresponds in the java heap).
This method is then used instead of gathering it from various places
when allocating that data structure.

CR:
https://bugs.openjdk.java.net/browse/JDK-8073632

Webrev:
http://cr.openjdk.java.net/~tschatzl/8073632/webrev/

Testing:
JPRT

Thanks,
  Thomas





More information about the hotspot-gc-dev mailing list