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

Generational ZGC: Update constructor syntax

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 21
    • None
    • hotspot
    • gc
    • b23

      ZGC's current constructor syntax works well with some editors, but not all. There is a wish to move over from the current syntax:

      ZClass:ZClass() :
          ZSuper(),
          _member0,
          _member1 {
        // Code
        doit();
      }

      to the following syntax:

      ZClass:ZClass()
        : ZSuper(),
          _member0,
          _member1 {
        // Code
        doit();
      }

            stefank Stefan Karlsson
            stefank Stefan Karlsson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: