Request for review - 8011268: NPG: Free unused VirtualSpaceNodes
Jon Masamitsu
jon.masamitsu at oracle.com
Tue Apr 16 04:46:25 UTC 2013
This version incorporates the code review comments and fixes
some bugs uncovered by the changes.
http://cr.openjdk.java.net/~jmasa/8011268/webrev.01/
This version does not free the current VirtualSpaceNode.
I tried it but backed it out to simply the code while debugging. I
will try it again later (but not with this set of changes).
This is a webrev based on the changes for 8011173.
http://cr.openjdk.java.net/~jmasa/8011173/webrev.00/
Jon
On 4/3/2013 9:00 PM, Jon Masamitsu wrote:
> After class unloading deallocate any VirtualSpaceNodes not being used.
>
> When the classes for a dead class loader are unloaded, all the Metachunks
> that had been used by that class loader are put on the Metachunk
> free list for later reuse. If all the Metachunks allocated out of a
> VirtualSpaceNode are on the Metachunk free list, remove the Metachunks
> from the free list and deallocate the VirtualSpaceNode.
>
> The constructor for VirtualSpaceNode was moved to be below the
> definition of
> SpaceManager.
>
> http://cr.openjdk.java.net/~jmasa/8011268/webrev.00/
>
> Thanks.
>
> Jon
More information about the hotspot-gc-dev
mailing list