RFR (S): 8155810: Bound the number of root region scan threads to the number of survivor regions

Jon Masamitsu jon.masamitsu at oracle.com
Wed May 11 14:50:38 UTC 2016


Looks good.

Jon

On 5/10/16 4:30 AM, Thomas Schatzl wrote:
> Hi all,
>
>    due to recent changes I had to do a minor one-line change:
>
> http://cr.openjdk.java.net/~tschatzl/8155810/webrev.1/
>
> in g1ConcurrentMark.cpp,
>
>   312 uint G1CMRootRegions::num_root_regions() const {
>   313   return _young_list->survivor_length();
>   314 }
>
> had to change to:
>
>   297 uint G1CMRootRegions::num_root_regions() const {
>   298   return (uint)_survivors->regions()->length();
>   299 }
>
> Please have a look asap.
>
> Thanks,
>    Thomas
>




More information about the hotspot-gc-dev mailing list