equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
350 |
350 |
351 #ifdef ASSERT |
351 #ifdef ASSERT |
352 void tally_iteration_statistics() const; |
352 void tally_iteration_statistics() const; |
353 |
353 |
354 // BitBlock allocation statistics |
354 // BitBlock allocation statistics |
355 static uint _alloc_new; |
355 static julong _alloc_new; |
356 static uint _alloc_total; |
356 static julong _alloc_total; |
357 |
357 |
358 // Block density statistics |
358 // Block density statistics |
359 static long _total_bits; |
359 static julong _total_bits; |
360 static long _total_used_blocks; |
360 static julong _total_used_blocks; |
361 static long _total_unused_blocks; |
361 static julong _total_unused_blocks; |
362 |
362 |
363 // Sanity tests |
363 // Sanity tests |
364 void verify() const; |
364 void verify() const; |
365 |
365 |
366 static int _serial_count; |
366 static int _serial_count; |