changeset 51078 | fc6cfe40e32a |
parent 50858 | 2d3e99a72541 |
child 52381 | 7f90bc64b0fc |
--- a/src/hotspot/share/jvmci/jvmciCodeInstaller.cpp Fri Jul 13 11:21:55 2018 +0800 +++ b/src/hotspot/share/jvmci/jvmciCodeInstaller.cpp Thu Jul 12 16:31:28 2018 +0200 @@ -236,6 +236,8 @@ JVMCIKlassHandle klass(THREAD); oop result = NULL; + guarantee(h != NULL, + "If DebugInformationRecorder::describe_scope passes NULL oldCount == newCount must hold."); if (h->is_klass()) { klass = (Klass*) h; result = CompilerToVM::get_jvmci_type(klass, CATCH);