src/share/vm/gc_implementation/shared/parGCAllocBuffer.cpp

changeset 6376
cfd4aac53239
parent 4130
2e6857353b2c
child 6680
78bbf4d43a14
     1.1 --- a/src/share/vm/gc_implementation/shared/parGCAllocBuffer.cpp	Thu Jan 23 12:08:28 2014 +0100
     1.2 +++ b/src/share/vm/gc_implementation/shared/parGCAllocBuffer.cpp	Mon Jan 27 13:14:53 2014 +0100
     1.3 @@ -89,6 +89,10 @@
     1.4  // scavenge; it clears the sensor accumulators.
     1.5  void PLABStats::adjust_desired_plab_sz(uint no_of_gc_workers) {
     1.6    assert(ResizePLAB, "Not set");
     1.7 +
     1.8 +  assert(is_object_aligned(max_size()) && min_size() <= max_size(),
     1.9 +         "PLAB clipping computation may be incorrect");
    1.10 +
    1.11    if (_allocated == 0) {
    1.12      assert(_unused == 0,
    1.13             err_msg("Inconsistency in PLAB stats: "

mercurial