Mercurial > hg > truffle
comparison src/share/vm/memory/genCollectedHeap.cpp @ 881:16c930df1e9b
Merge
author | dcubed |
---|---|
date | Tue, 28 Jul 2009 13:50:07 -0600 |
parents | df6caf649ff7 2b4230d1e589 |
children | 148e5441d916 |
comparison
equal
deleted
inserted
replaced
879:494244ae0171 | 881:16c930df1e9b |
---|---|
480 | 480 |
481 int max_level_collected = starting_level; | 481 int max_level_collected = starting_level; |
482 for (int i = starting_level; i <= max_level; i++) { | 482 for (int i = starting_level; i <= max_level; i++) { |
483 if (_gens[i]->should_collect(full, size, is_tlab)) { | 483 if (_gens[i]->should_collect(full, size, is_tlab)) { |
484 if (i == n_gens() - 1) { // a major collection is to happen | 484 if (i == n_gens() - 1) { // a major collection is to happen |
485 if (!complete) { | |
486 // The full_collections increment was missed above. | |
487 increment_total_full_collections(); | |
488 } | |
485 pre_full_gc_dump(); // do any pre full gc dumps | 489 pre_full_gc_dump(); // do any pre full gc dumps |
486 } | 490 } |
487 // Timer for individual generations. Last argument is false: no CR | 491 // Timer for individual generations. Last argument is false: no CR |
488 TraceTime t1(_gens[i]->short_name(), PrintGCDetails, false, gclog_or_tty); | 492 TraceTime t1(_gens[i]->short_name(), PrintGCDetails, false, gclog_or_tty); |
489 TraceCollectorStats tcs(_gens[i]->counters()); | 493 TraceCollectorStats tcs(_gens[i]->counters()); |