hotspot/src/share/vm/runtime/sharedRuntime.cpp
changeset 33763 cec2333f839c
parent 33611 9abd65805e19
child 33813 4f376e851453
equal deleted inserted replaced
33756:fc1eddc092e7 33763:cec2333f839c
    35 #include "compiler/compileBroker.hpp"
    35 #include "compiler/compileBroker.hpp"
    36 #include "compiler/disassembler.hpp"
    36 #include "compiler/disassembler.hpp"
    37 #include "gc/shared/gcLocker.inline.hpp"
    37 #include "gc/shared/gcLocker.inline.hpp"
    38 #include "interpreter/interpreter.hpp"
    38 #include "interpreter/interpreter.hpp"
    39 #include "interpreter/interpreterRuntime.hpp"
    39 #include "interpreter/interpreterRuntime.hpp"
       
    40 #include "logging/log.hpp"
    40 #include "memory/universe.inline.hpp"
    41 #include "memory/universe.inline.hpp"
    41 #include "oops/oop.inline.hpp"
    42 #include "oops/oop.inline.hpp"
    42 #include "prims/forte.hpp"
    43 #include "prims/forte.hpp"
    43 #include "prims/jvmtiExport.hpp"
    44 #include "prims/jvmtiExport.hpp"
    44 #include "prims/jvmtiRedefineClassesTrace.hpp"
    45 #include "prims/jvmtiRedefineClassesTrace.hpp"
   554   } else {
   555   } else {
   555     assert(SharedRuntime::polling_page_safepoint_handler_blob() != NULL,
   556     assert(SharedRuntime::polling_page_safepoint_handler_blob() != NULL,
   556            "polling page safepoint stub not created yet");
   557            "polling page safepoint stub not created yet");
   557     stub = SharedRuntime::polling_page_safepoint_handler_blob()->entry_point();
   558     stub = SharedRuntime::polling_page_safepoint_handler_blob()->entry_point();
   558   }
   559   }
   559 #ifndef PRODUCT
   560   log_debug(safepoint)("... found polling page %s exception at pc = "
   560   if (TraceSafepoint) {
   561                        INTPTR_FORMAT ", stub =" INTPTR_FORMAT,
   561     char buf[256];
   562                        at_poll_return ? "return" : "loop",
   562     jio_snprintf(buf, sizeof(buf),
   563                        (intptr_t)pc, (intptr_t)stub);
   563                  "... found polling page %s exception at pc = "
       
   564                  INTPTR_FORMAT ", stub =" INTPTR_FORMAT,
       
   565                  at_poll_return ? "return" : "loop",
       
   566                  (intptr_t)pc, (intptr_t)stub);
       
   567     tty->print_raw_cr(buf);
       
   568   }
       
   569 #endif // PRODUCT
       
   570   return stub;
   564   return stub;
   571 }
   565 }
   572 
   566 
   573 
   567 
   574 oop SharedRuntime::retrieve_receiver( Symbol* sig, frame caller ) {
   568 oop SharedRuntime::retrieve_receiver( Symbol* sig, frame caller ) {