Skip to content
Permalink
Browse files
8259317: Remove JVM option BreakAtWarning
Reviewed-by: lfoltan, coleenp
  • Loading branch information
Harold Seigel committed Jan 7, 2021
1 parent 3f9f86f commit f91f92dcaadca3e5e7fd8d1300d8e24f7872f562
Showing with 1 addition and 5 deletions.
  1. +0 −3 src/hotspot/share/runtime/globals.hpp
  2. +1 −2 src/hotspot/share/utilities/debug.cpp
@@ -554,9 +554,6 @@ const intx ObjectAlignmentInBytes = 8;
"directory) of the dump file (defaults to java_pid<pid>.hprof " \
"in the working directory)") \
\
develop(bool, BreakAtWarning, false, \
"Execute breakpoint upon encountering VM warning") \
\
product(ccstr, NativeMemoryTracking, "off", \
"Native memory tracking options") \
\
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -125,7 +125,6 @@ void warning(const char* format, ...) {
va_end(ap);
fputc('\n', err);
}
if (BreakAtWarning) BREAKPOINT;
}

#ifndef PRODUCT

1 comment on commit f91f92d

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on f91f92d Jan 7, 2021

Please sign in to comment.