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

Improve DecoratorSet type safety

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 16
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc

      Description

      DecoratorSet is currently just a typedef for uint64_t. We could provide better type safety by using C++14 features. It could be either a scoped enum or (with C++20) a literal type with a suite of constexpr operations.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kbarrett Kim Barrett
              Reporter:
              kbarrett Kim Barrett
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: