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

hotspot server VM calling same method in loop stops working after few iterations

    Details

    • Subcomponent:
    • Resolved In Build:
      02
    • CPU:
      generic
    • OS:
      generic

      Description

      HotSpot Server compiler issue in J2SE 1.3.1 release.
      Platform independent. Tested on Solaris as well on Windows 2000 platform.

      We have a method called 'skip' that does some relatively simple parsing
      of a string. It doesn't use any non-deterministic methods, just basic
      string methods, a few loops and integer arithmetic. After calling this
      method a numer of times with identical parameters, it stops working.

      Please note that this works fine with HotSpot Client VM.
      Using HotSpot Server VM, it works fine on 1.3.0_02 as well as in the latest merlin-beta (74) build.

      It fails only in 1.3.1 (build 24) release
      Looks like there is some timing issue involved because I added few dummy System.out.println() statements inside skip() and it worked fine even with HotSpot Server VM 1.3.1 release.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                chrisphi Chris Phillips
                Reporter:
                rverabel Raghu Verabelli (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: