Mercurial > hg > truffle
diff src/share/vm/memory/universe.cpp @ 9060:cc32ccaaf47f
8003310: Enable -Wunused-function when compiling with gcc
Summary: Add the -Wunused-function flag and remove a number of unused functions.
Reviewed-by: dholmes, coleenp, kvn
author | mikael |
---|---|
date | Thu, 04 Apr 2013 10:01:26 -0700 |
parents | 42e370795a39 |
children | 8be1318fbe77 |
line wrap: on
line diff
--- a/src/share/vm/memory/universe.cpp Wed Apr 03 16:43:09 2013 -0700 +++ b/src/share/vm/memory/universe.cpp Thu Apr 04 10:01:26 2013 -0700 @@ -1335,6 +1335,8 @@ static uintptr_t _verify_klass_data[2] = {0, (uintptr_t)-1}; +#ifndef PRODUCT + static void calculate_verify_data(uintptr_t verify_data[2], HeapWord* low_boundary, HeapWord* high_boundary) { @@ -1369,9 +1371,7 @@ verify_data[1] = bits; } - // Oop verification (see MacroAssembler::verify_oop) -#ifndef PRODUCT uintptr_t Universe::verify_oop_mask() { MemRegion m = heap()->reserved_region();