RFR(M): 6921087: G1: remove per-GC-thread expansion tables from the fine-grain remembered sets
Thomas Schatzl
thomas.schatzl at jku.at
Thu Jun 21 16:04:24 UTC 2012
Hi,
On Thu, 2012-06-21 at 12:27 +0200, Bengt Rutisson wrote:
> John and Thomas,
>
> I think we should try to remove dead code and I consider code that has
> been #if-deffed out for several years dead. So, I'm all for removing
> both PRT_COUNT_OCCUPIED and SAMPLE_FOR_EVICTION. All our testing and
> performance measurements have been based on these being enabled. Let's
> remove the unused code for having those flags disabled.
>
> A bit more tricky question is HRRS_VERBOSE. I am not sure why this is a
> #define and not a develop flag. In my opinion we can remove that too
> along with the code it guards since HRRS_VERBOSE is disabled. On the
> other hand this is just logging so it would also be fine to turn
> HRRS_VERBOSE into a develop flag. Personally I prefer to remove the code
> and add it in again later if we see the need for it.
>
I totally agree. Attached is a diff that removes the ifdef's and
defines using the current values, and fixes the copyright year in the
header.
Tested with a few specjbb runs only.
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: more_cleanup.tar.bz2
Type: application/x-bzip-compressed-tar
Size: 8195 bytes
Desc: not available
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20120621/0ac5722c/more_cleanup.tar.bz2>
More information about the hotspot-gc-dev
mailing list