Parallel: Use ordinary klass accessor in verify_filler_in_dense_prefix

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 24
    • Affects Version/s: None
    • Component/s: hotspot
    • gc
    • b24

      In `PSParallelCompact::verify_filler_in_dense_prefix`, we verify all dead space is filled with special fillers, with their corresponding klass. The ordinary klass accessor API is `klass()`. There is another variant, `klass_without_asserts`, which is used in contexts where it's dangerous to access the klass.
      In this context, klass must be one of special filler klasses, so one can use the ordinary version.

      Change to the ordinary version to streamline the logic in this method.

            Assignee:
            Albert Yang
            Reporter:
            Albert Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: