hotspot/src/share/vm/opto/graphKit.cpp
changeset 29086 74100114a95a
parent 28934 903e319e521a
child 29337 ef2be52deeaf
child 29089 c3404869ce6e
--- a/hotspot/src/share/vm/opto/graphKit.cpp	Mon Feb 16 08:47:39 2015 -0800
+++ b/hotspot/src/share/vm/opto/graphKit.cpp	Tue Feb 17 13:54:53 2015 -0500
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2001, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2015, 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
@@ -3244,6 +3244,9 @@
 
   const TypeFunc *tf = OptoRuntime::complete_monitor_exit_Type();
   UnlockNode *unlock = new UnlockNode(C, tf);
+#ifdef ASSERT
+  unlock->set_dbg_jvms(sync_jvms());
+#endif
   uint raw_idx = Compile::AliasIdxRaw;
   unlock->init_req( TypeFunc::Control, control() );
   unlock->init_req( TypeFunc::Memory , memory(raw_idx) );