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

Move PcDesc cache from nmethod header

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 23
    • 23
    • hotspot
    • b21

    Description

      Currently PcDescCache (32 bytes: PcDesc* _pc_descs[4]) is allocated in `nmethod` header.

      Investigate possibility to move it to C heap similar to ExceptionCache to reduce size of `nmethod` header and remove WXWrite transition when we update the cache in `PcDescCache::add_pc_desc()`

      Main concern is performance because we will add one pointer load to each query.

      Attachments

        Issue Links

          Activity

            People

              kvn Vladimir Kozlov
              kvn Vladimir Kozlov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: