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

Incorrect print format in error message for VM cannot allocate the requested heap

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • hs25
    • hs25
    • hotspot
    • gc
    • b35

        1. print format: %d -> SIZE_FORMAT for type of size_t (variable total_reserved)
        Currently, the print format will incorrectly truncate the value in print, which would confuse users.

        For example,

        $ $JAVA_HOME/bin/java -Xmx130t -version
        Error occurred during initialization of VM
        Could not reserve enough space for object heap 2097152 bytes

        2. *minor: clean up error message call in check_alignment

              tamao Tao Mao
              tamao Tao Mao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: