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

getArgumentValues002.java fails on Graal

    XMLWordPrintable

Details

    • b17

    Description

      The vmTestbase/nsk/jdi/StackFrame/getArgumentValues/getArgumentValues002/getArgumentValues002.java test fails on Graal due to a problem in the way Graal initializes the frame state for an OSR compilation.

      Currently, Graal uses its internal analysis to clear non-live local variables at the OSR entry point. However, this can be too conservative, marking variables as live which are actually dead from the interpreter's point of view. For example, a local variable that is assigned an int down one path and an object down another can look live according to the compiler's analysis but is clearly dead from the interpreters point of view.

      To fix this, Graal needs to do something like ciMethod::live_local_oops_at_bci which entails the need for new JVMCI API to access OopMapCache::compute_one_oop_map.

      Attachments

        Issue Links

          Activity

            People

              dnsimon Douglas Simon
              dnsimon Douglas Simon
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: