changeset 56460:ab359c21f619 cont

Fix errors.
author rbackman
date Wed, 14 Aug 2019 10:31:42 +0200
parents 8b38b9a77f94
children 2be4e800f681 c0e75d592eec
files src/hotspot/share/runtime/continuation.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/runtime/continuation.cpp	Wed Aug 14 10:13:31 2019 +0200
+++ b/src/hotspot/share/runtime/continuation.cpp	Wed Aug 14 10:31:42 2019 +0200
@@ -1509,7 +1509,7 @@
   }
 
   void write_at(ContMirror& mirror, int index) {
-    assert(_keepalive != NULL, "");
+    //assert(_keepalive != NULL, "");
     //log_develop_info(jvmcont)("writing mirror at %d\n", index);
     mirror.add_oop<ConfigT>(read_keepalive(), index);
     //*(hsp + index)
@@ -1523,7 +1523,7 @@
 
     nmethod* nm = _method->as_nmethod_or_null();
     if (nm != NULL) {
-      assert(_keepalive != NULL && read_keepalive() != NULL, "");
+      //assert(_keepalive != NULL && read_keepalive() != NULL, "");
       PersistOops<OopT> persist(_nr_oops, (objArrayOop) read_keepalive());
       nm->oops_do(&persist);
       //log_info(jvmcont)("oops persisted");