src/hotspot/share/runtime/deoptimization.cpp
changeset 49324 e6fbaf07192f
parent 49189 41e570d862b4
child 49449 ef5d5d343e2a
equal deleted inserted replaced
49323:565336327354 49324:e6fbaf07192f
    54 #include "runtime/threadSMR.hpp"
    54 #include "runtime/threadSMR.hpp"
    55 #include "runtime/vframe.hpp"
    55 #include "runtime/vframe.hpp"
    56 #include "runtime/vframeArray.hpp"
    56 #include "runtime/vframeArray.hpp"
    57 #include "runtime/vframe_hp.hpp"
    57 #include "runtime/vframe_hp.hpp"
    58 #include "utilities/events.hpp"
    58 #include "utilities/events.hpp"
       
    59 #include "utilities/preserveException.hpp"
    59 #include "utilities/xmlstream.hpp"
    60 #include "utilities/xmlstream.hpp"
    60 
    61 
    61 #if INCLUDE_JVMCI
    62 #if INCLUDE_JVMCI
    62 #include "jvmci/jvmciRuntime.hpp"
    63 #include "jvmci/jvmciRuntime.hpp"
    63 #include "jvmci/jvmciJavaClasses.hpp"
    64 #include "jvmci/jvmciJavaClasses.hpp"
   646   cleanup_deopt_info(thread, array);
   647   cleanup_deopt_info(thread, array);
   647 
   648 
   648 #ifndef PRODUCT
   649 #ifndef PRODUCT
   649   if (VerifyStack) {
   650   if (VerifyStack) {
   650     ResourceMark res_mark;
   651     ResourceMark res_mark;
       
   652     // Clear pending exception to not break verification code (restored afterwards)
       
   653     PRESERVE_EXCEPTION_MARK;
   651 
   654 
   652     thread->validate_frame_layout();
   655     thread->validate_frame_layout();
   653 
   656 
   654     // Verify that the just-unpacked frames match the interpreter's
   657     // Verify that the just-unpacked frames match the interpreter's
   655     // notions of expression stack and locals
   658     // notions of expression stack and locals