changeset 4637 | af4d405aacc1 |
parent 3908 | 24b55ad4c228 |
child 4641 | 02adf6837856 |
--- a/hotspot/src/share/vm/memory/genCollectedHeap.cpp Tue Jan 12 14:56:46 2010 -0800 +++ b/hotspot/src/share/vm/memory/genCollectedHeap.cpp Wed Jan 13 15:26:39 2010 -0800 @@ -51,6 +51,8 @@ } jint GenCollectedHeap::initialize() { + CollectedHeap::pre_initialize(); + int i; _n_gens = gen_policy()->number_of_generations(); @@ -129,6 +131,7 @@ _rem_set = collector_policy()->create_rem_set(_reserved, n_covered_regions); set_barrier_set(rem_set()->bs()); + _gch = this; for (i = 0; i < _n_gens; i++) {