mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 10:04:42 +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
|
@ -735,6 +735,9 @@ void SafepointSynchronize::block(JavaThread *thread) {
|
|||
// Exception handlers
|
||||
|
||||
#ifndef PRODUCT
|
||||
|
||||
#ifdef SPARC
|
||||
|
||||
#ifdef _LP64
|
||||
#define PTR_PAD ""
|
||||
#else
|
||||
|
@ -755,7 +758,6 @@ static void print_longs(jlong oldptr, jlong newptr, bool wasoop) {
|
|||
newptr, is_oop?"oop":" ", (wasoop && !is_oop) ? "STALE" : ((wasoop==false&&is_oop==false&&oldptr !=newptr)?"STOMP":" "));
|
||||
}
|
||||
|
||||
#ifdef SPARC
|
||||
static void print_me(intptr_t *new_sp, intptr_t *old_sp, bool *was_oops) {
|
||||
#ifdef _LP64
|
||||
tty->print_cr("--------+------address-----+------before-----------+-------after----------+");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue