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

NonNMethod heap in segmented CodeCache is not scanned in some cases

    Details

    • Subcomponent:
    • Resolved In Build:
      b175
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description

        After integration of AOT macro FOR_ALL_NMETHOD_HEAPS is used in most CodeCache methods. But it does include NonNMethod heap in segmented CodeCache.

        The problem was found during JDK-8171365 investigation and point fix was pushed.

        But we may have problem in other places too. For example PrintCodeCache2 misses information about code in NonNMethod heap:

        runtime_stubs: 0
        adapters: 0
        buffer blobs: 0
        deoptimization_stubs: 0

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dlong Dean Long
                  Reporter:
                  kvn Vladimir Kozlov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: