Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-6803

Precompute a bitset for each flag

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 9.0.0.Final
    • 9.0.0.Final
    • Core
    • None

      Commands now use keep track of flags as "bitsets" that are actually long.

      However, flag checks still refer to the Flag instances themselves, and because the ordinal is not a static field, it cannot be optimized away by HotSpot. We can avoid that by precomputing a bitset for each flag, and making it static final.

              dberinde@redhat.com Dan Berindei (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: