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

Thomas Schatzl thomas.schatzl at oracle.com
Tue May 10 11:30:53 UTC 2016


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