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

Remove virtual from ResourceObj::print_on

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • tbd
    • None
    • hotspot
    • None

      We never use the virtualness of print_on in any way. Having print_on be virtual costs us 8 bytes for each ResourceObj being allocated and enforces subclasses to have const print_on methods.

            jsjolen Johan Sjölen
            jsjolen Johan Sjölen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: