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

[JVMCI] missing ResourceMark in JVMCIRuntime::initialize_HotSpotJVMCIRuntime

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b107

      Description

      There's no explicit ResourceMark in JVMCIRuntime::initialize_HotSpotJVMCIRuntime but generally callers have one that it can use. However calling JVMCI.getRuntime() from a newly created thread will crash because there doesn't happen to be a containing resource mark. It should just have it's own.

        Attachments

          Activity

            People

            • Assignee:
              never Tom Rodriguez
              Reporter:
              never Tom Rodriguez
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: