Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8311516

JavaThread can continue executing in compiled code after switch to interpreter only mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • 25
    • 22
    • hotspot

      When resolving a call from compiled code a JavaThread might call into one of these methods in SharedRuntime class: resolve_virtual_call_C, resolve_opt_virtual_call_C, resolve_static_call_C, handle_wrong_method, handle_wrong_method_ic_miss.
      These are non-leaf methods, i.e. methods that transition to vm and then back to Java, where the JavaThread could be switched to interpreter only mode. But we don't check that case when returning from these methods and always return the _from_compiled_entry from the resolved method which will point to the compiled entry if there was one (c2i otherwise).

            pchilanomate Patricio Chilano Mateo
            pchilanomate Patricio Chilano Mateo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: