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

ifdef-out some CDS-only functions

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 20
    • None
    • hotspot
    • b13

      Some functions that are used only by CDS are always compiled. E.g.,

      ConstantPoolCache::remove_unshareable_info
      Klass::restore_unshareable_info
      Method::restore_unshareable_info

      They should be placed inside #if INCLUDE_CDS.

      Note:
      In this RFE, I am just taking out the easy stuff. There are other cases, such as code inside if (DumpSharedSpaces) {...}, that I am ignoring for now.

            iklam Ioi Lam
            iklam Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: