--- a/hotspot/src/share/vm/gc/g1/collectionSetChooser.hpp Thu May 21 14:10:15 2015 +0200
+++ b/hotspot/src/share/vm/gc/g1/collectionSetChooser.hpp Fri May 22 10:57:53 2015 +0200
@@ -121,7 +121,7 @@
// Must be called before calls to claim_array_chunk().
// n_regions is the number of regions, chunk_size the chunk size.
- void prepare_for_par_region_addition(uint n_regions, uint chunk_size);
+ void prepare_for_par_region_addition(uint n_threads, uint n_regions, uint chunk_size);
// Returns the first index in a contiguous chunk of chunk_size indexes
// that the calling thread has reserved. These must be set by the
// calling thread using set_region() (to NULL if necessary).