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

c1 compiler consumes too much mem resource in the method with a lot of lines

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.4.1_01
    • hotspot
    • x86
    • windows_2000

      Hotspot compiler consumes too much memory resource against the method which has
      a lot of lines.(This problem seems similar to 4790456.)

      REPRODUCE:

      The following process is written in windows platform.

       (1) Compile the attached test program(Memtest.java).
       (2) Open the 'Task Manager' of Windows and click the 'performance' Tag.
       (3) Set the attached indata.txt in the same directory where Memtest.java is.
       (4) Launch 'java Memtest'

      You will see the 'Memory Usage' of Task manager is growing and growing.

      If the test PC has enough memory size, the java process seems to release
      the memory when the compiler finishes the very method.
      Then the program terminates normally.

      However, if not enough, the program terminates abnormally.
      (ex. outofmemory)

      CONFIGRATION:
       OS : Windows2000(SP1, Japanese)
       MPU : Pentium IV(1.4[GHz])
       Mem: 384 [GB]
       JRE/JDK: 1.4.0_0X/1.4.1_01

      NOTE:
       - This issue does not occur with 1.4.2b16.
       - The attached test program includes and print the log in Japanase char.
         So, this does not display the message corrently in English locale PC.

      =============================================================================

            never Tom Rodriguez
            tbaba Tadayuki Baba (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: