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

[JVMCI] codeStart should be cleared when entryPoint is cleared

    XMLWordPrintable

Details

    • b20

    Description

      When the InstalledCode.entryPoint field is cleared[1], the HotSpotInstalledCode.codeStart field should also be cleared. That is, when making an nmethod non-entrant, all Java side values pointing to code in the nmethod should be cleared. This avoids an inconsistent view of the code.

      [1] https://github.com/openjdk/jdk/search?q=set_InstalledCode_entryPoint

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: