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

Do not use FLAG_SET_ERGO to update MaxRAM for emulated client

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • 9
    • 9, 10
    • hotspot
    • b163
    • Verified

    Backports

      Description

        setting MaxRAM FLAG_SET_ERGO affects Arguments::set_heap_size inappropriately,

        void Arguments::set_heap_size() {
          julong phys_mem =
            FLAG_IS_DEFAULT(MaxRAM) ? MIN2(os::physical_memory(), (julong)MaxRAM)
                                    : (julong)MaxRAM;

        so, do not use FLAG_SET_ERGO to update MaxRAM for emulated client

        Attachments

          Issue Links

            Activity

              People

                jcm Jamsheed C M (Inactive)
                jcm Jamsheed C M (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: