8061805: BACKOUT - Remove the generations array

Backing out the change due to non-trivial test problems in nightly testing.

Reviewed-by: jwilhelm, mgerdin
This commit is contained in:
Jesper Wilhelmsson 2014-10-22 16:40:43 +02:00
parent 46e9fb5176
commit 27e9dd8a8d
8 changed files with 324 additions and 302 deletions

View file

@ -387,7 +387,7 @@ void DefNewGeneration::compute_new_size() {
assert(next_level < gch->_n_gens,
"DefNewGeneration cannot be an oldest gen");
Generation* next_gen = gch->get_gen(next_level);
Generation* next_gen = gch->_gens[next_level];
size_t old_size = next_gen->capacity();
size_t new_size_before = _virtual_space.committed_size();
size_t min_new_size = spec()->init_size();