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

There are 99 uses of FLAG_SET_ERGO, should they check the return value?

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 9
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:

      Description

      There are 99 uses of FLAG_SET_ERGO in 12 files, should they check the return value like FLAG_SET_CMDLINE?

      The initial assumption was that FLAG_SET_ERGO users know what they are doing, but there are bugs. Should we check the return value and assert if range/constraint is invalidated?

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gziemski Gerard Ziemski
              Reporter:
              gziemski Gerard Ziemski
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: