mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +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
|
@ -557,11 +557,6 @@ IRT_END
|
|||
// be shared by method invocation and synchronized blocks.
|
||||
//%note synchronization_3
|
||||
|
||||
static void trace_locking(Handle& h_locking_obj, bool is_locking) {
|
||||
ObjectSynchronizer::trace_locking(h_locking_obj, false, true, is_locking);
|
||||
}
|
||||
|
||||
|
||||
//%note monitor_1
|
||||
IRT_ENTRY_NO_ASYNC(void, InterpreterRuntime::monitorenter(JavaThread* thread, BasicObjectLock* elem))
|
||||
#ifdef ASSERT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue