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

Too much of c heap used up while compiling a method

XMLWordPrintable

    • sparc
    • solaris_8

      Too much of c heap (800 Mb) used up while compiling a simple method. Reproducible with the server compiler only.

      Steps to repro. the problem:
      ============================
      java -server test

      It would request for a prompt "wait for return"
      Press enter and you would see numbers from 1 to 10000 printed on the screen, followed by another prompt "wait for return".

      Don't press enter immediately. While running the program open another
      window and watch the top output.

      While waiting for the command prompt, the memory increases from 30M TO
      around 800M (which is taken up while compiling the method Constant.from_int).

      This repros on 131_10 and the latest 131 (131_13) as well.

      The following source files are attached to this report:

      test.java
      Constant.java
      ###@###.### 10/25/04 23:37 GMT

            sthilagasunw Sathianantha Thilagar (Inactive)
            ksoshals Kirill Soshalskiy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: