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

Do not use FLAG_SET_ERGO to update MaxRAM for emulated client

XMLWordPrintable

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

        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

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

                Created:
                Updated:
                Resolved: