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

REGRESSION: Consume too much memory and application error occurs

    Details

    • Subcomponent:
    • Resolved In Build:
      rc
    • CPU:
      x86
    • OS:
      windows_2000

      Description

      When we executed the attached program in 1.4.1-b18, it never returns any
      message and then Windows show the message which notify the warnning
      of memory short with a dialogue.
      However, this program terminates normally in 1.3.1_04.
      This looks regression.

      1. Reproducing
        1) Compile the attached progarm
        2) Invoke the class

      2. Configration
        MPU: Pentium IV 1.4[GHz]
        Mem: 384 [ MB]
        OS : Windows2000 professional (Sp2, Japanese)
        JRE/JDK: 1.4.1

         H:\TEMP\deopti>java -version
         java version "1.4.1-rc"
         Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-rc-b18)
         Java HotSpot(TM) Client VM (build 1.4.1-rc-b18, mixed mode)

      3. Note

       1) As I mention the above, this issue does not happen in 1.3.1_04.
          I recommend to try it in 1.3.1_04 first in order to confirm how this
          program works.

      H:\TEMP\deopti>java -version
      java version "1.3.1_04"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_04-b02)
      Java HotSpot(TM) Client VM (build 1.3.1_04-b02, mixed mode)

      H:\TEMP\deopti>javac *.java

      H:\TEMP\deopti>java OSR0007C
      OSR0007C_T2::func()
      end

       2) When locale is set to "English(U.S)" and the program is executed in
          1.4, the following message may be output although I did not confirmed
          it.
      ===>
      Exception java.lang.OutOfMemoryError: requested 168 bytes

      runtime error R6017
      - unexpected multithread lock error

      <===

       3) If you open the task manager, you can see the memory going short easily.

      2002-08-01
      ===========================================================================

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kbr Kenneth Russell (Inactive)
                Reporter:
                tbaba Tadayuki Baba (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: