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

G1: Factor out hash function for G1CardSet

    XMLWordPrintable

Details

    • gc
    • b24

    Description

      In G1CardSet we use Hotspot's CHT - it requires a few closures to operate, some of them having a get_hash() method that calculates a hash from a given key.

      Currently the code inlines the get_hash() method every time (it simply returns the key, but still).

      This is inconvenient when doing experiments with different hashes.

      Let the get_hash methods call a common method instead.

      Attachments

        Issue Links

          Activity

            People

              tschatzl Thomas Schatzl
              tschatzl Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: