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

Improve performance of oopDesc::klass() after JDK-8305895

XMLWordPrintable

    • b25

      This is a follow-up to JDK-8305895. Performance testing has revealed some regressions on performance even when compact headers are turned off. For example, the RSA benchmark of SPECjvm was ~2% slower when compared to the baseline JDK. Those regressions seem to be caused by oopDesc::klass() now checking two global variables rather than previously only one. This potentially also harms GC iterators, which do a lot of Klass* accesses.

            rkennke Roman Kennke
            rkennke Roman Kennke
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: