--- a/hotspot/src/share/vm/opto/output.cpp Wed Nov 11 14:40:38 2015 -1000
+++ b/hotspot/src/share/vm/opto/output.cpp Wed Nov 11 16:32:17 2015 -1000
@@ -91,13 +91,10 @@
}
// Break before main entry point
- if( (_method && C->directive()->BreakAtExecuteOption)
-#ifndef PRODUCT
- ||(OptoBreakpoint && is_method_compilation())
- ||(OptoBreakpointOSR && is_osr_compilation())
- ||(OptoBreakpointC2R && !_method)
-#endif
- ) {
+ if ((_method && C->directive()->BreakAtExecuteOption) ||
+ (OptoBreakpoint && is_method_compilation()) ||
+ (OptoBreakpointOSR && is_osr_compilation()) ||
+ (OptoBreakpointC2R && !_method) ) {
// checking for _method means that OptoBreakpoint does not apply to
// runtime stubs or frame converters
_cfg->insert( entry, 1, new MachBreakpointNode() );