mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 18:44:38 +02:00
8003310: Enable -Wunused-function when compiling with gcc
Add the -Wunused-function flag and remove a number of unused functions. Reviewed-by: dholmes, coleenp, kvn
This commit is contained in:
parent
33f6dd2215
commit
eeb83733a6
29 changed files with 92 additions and 266 deletions
|
@ -1335,6 +1335,8 @@ static uintptr_t _verify_oop_data[2] = {0, (uintptr_t)-1};
|
|||
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 @@ static void calculate_verify_data(uintptr_t verify_data[2],
|
|||
verify_data[1] = bits;
|
||||
}
|
||||
|
||||
|
||||
// Oop verification (see MacroAssembler::verify_oop)
|
||||
#ifndef PRODUCT
|
||||
|
||||
uintptr_t Universe::verify_oop_mask() {
|
||||
MemRegion m = heap()->reserved_region();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue