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

Continuation generates code in non-profiled code cache even if Xint is used.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • repo-loom
    • repo-loom
    • hotspot

       have added java/lang/Continuation/Basic.java#id1 which fails. It run Basic test with Xint and segmented codecache to show that continuation doesn't works correctly in Xint. See here: https://github.com/openjdk/loom/blob/fibers/src/hotspot/share/interpreter/linkResolver.cpp#L1117
      18:59
      It generates native_wrapper which always tries to generate some code in Non-profile code cache. It works fine when we have single code cache but fails when we really split code cache for profiled/non-profiled methods and non compiled code. It is possible to fix native wrapper to use non-compiled segment if needed. However not sure it is a correct solution thought. Sometimes it should be fixed but not urgent.

            rbackman Rickard Backman (Inactive)
            lmesnik Leonid Mesnik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: