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

ifdef-out some CDS-only functions

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: