--- a/src/hotspot/share/c1/c1_LIRAssembler.hpp Wed Jul 18 00:23:06 2018 -0700
+++ b/src/hotspot/share/c1/c1_LIRAssembler.hpp Fri Jul 20 11:55:05 2018 -0700
@@ -71,7 +71,11 @@
void record_non_safepoint_debug_info();
// unified bailout support
- void bailout(const char* msg) const { compilation()->bailout(msg); }
+ void bailout(const char* msg) {
+ // reset the label in case it hits assertion in destructor.
+ _unwind_handler_entry.reset();
+ compilation()->bailout(msg);
+ }
bool bailed_out() const { return compilation()->bailed_out(); }
// code emission patterns and accessors