Skip to content

Commit f91f92d

Browse files
author
Harold Seigel
committedJan 7, 2021
8259317: Remove JVM option BreakAtWarning
Reviewed-by: lfoltan, coleenp
1 parent 3f9f86f commit f91f92d

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed
 

‎src/hotspot/share/runtime/globals.hpp

-3
Original file line numberDiff line numberDiff line change
@@ -554,9 +554,6 @@ const intx ObjectAlignmentInBytes = 8;
554554
"directory) of the dump file (defaults to java_pid<pid>.hprof " \
555555
"in the working directory)") \
556556
\
557-
develop(bool, BreakAtWarning, false, \
558-
"Execute breakpoint upon encountering VM warning") \
559-
\
560557
product(ccstr, NativeMemoryTracking, "off", \
561558
"Native memory tracking options") \
562559
\

‎src/hotspot/share/utilities/debug.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 1997, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 1997, 2021, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -125,7 +125,6 @@ void warning(const char* format, ...) {
125125
va_end(ap);
126126
fputc('\n', err);
127127
}
128-
if (BreakAtWarning) BREAKPOINT;
129128
}
130129

131130
#ifndef PRODUCT

0 commit comments

Comments
 (0)
Please sign in to comment.