Skip to content

Commit 9a36747

Browse files
committed
8255780: Remove unused overloads of VMError::report_and_die()
Reviewed-by: mdoerr, coleenp
1 parent c96a914 commit 9a36747

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

src/hotspot/share/utilities/vmError.cpp

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1321,19 +1321,6 @@ void VMError::report_and_die(Thread* thread, unsigned int sig, address pc, void*
13211321
report_and_die(thread, sig, pc, siginfo, context, "%s", "");
13221322
}
13231323

1324-
void VMError::report_and_die(const char* message, const char* detail_fmt, ...)
1325-
{
1326-
va_list detail_args;
1327-
va_start(detail_args, detail_fmt);
1328-
report_and_die(INTERNAL_ERROR, message, detail_fmt, detail_args, NULL, NULL, NULL, NULL, NULL, 0, 0);
1329-
va_end(detail_args);
1330-
}
1331-
1332-
void VMError::report_and_die(const char* message)
1333-
{
1334-
report_and_die(message, "%s", "");
1335-
}
1336-
13371324
void VMError::report_and_die(Thread* thread, void* context, const char* filename, int lineno, const char* message,
13381325
const char* detail_fmt, va_list detail_args)
13391326
{

src/hotspot/share/utilities/vmError.hpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ class VMError : public AllStatic {
118118

119119
static void report_and_die(Thread* thread, unsigned int sig, address pc, void* siginfo,
120120
void* context, const char* detail_fmt, ...) ATTRIBUTE_PRINTF(6, 7);
121-
static void report_and_die(const char* message, const char* detail_fmt, ...) ATTRIBUTE_PRINTF(2, 3);
122121

123122
// Timeout handling.
124123
// Hook functions for platform dependend functionality:
@@ -161,8 +160,6 @@ class VMError : public AllStatic {
161160
VMErrorType vm_err_type, const char* detail_fmt,
162161
va_list detail_args) ATTRIBUTE_PRINTF(6, 0);
163162

164-
static void report_and_die(const char* message);
165-
166163
// reporting OutOfMemoryError
167164
static void report_java_out_of_memory(const char* message);
168165

0 commit comments

Comments
 (0)