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

Unlimited bytecodes trace hangs java_g

XMLWordPrintable

    • x86
    • windows_nt



      Name: szC45993 Date: 03/24/99



      The Tonga/src/nsk/arguments/args00148 (sources are placed below),
      Tonga/src/nsk/arguments/args00107,
      Tonga/src/nsk/arguments/args00108 tests
      demonstrate that unlimited bytecodes trace can hang java_g (HotSpot VM 1.0rc2,
      mixed mode, debug build C) when using different combinations of
      debugging options.

      $ c:/jdk1.2.ZSS02/bin/java_g -version
      java version "1.2"
      HotSpot VM (1.0rc2, mixed mode, debug build C)
      [Verifying threads permgen oldgen ct newgen rset syms lkup zone dict hand C-heap ]


      Options for args00148: options for args00107:
      ===================== ======================

      +DisableStartThread -DisableStartThread
      +DebugVtables -DebugVtables
      +TraceBytecodes +TraceBytecodes
      TraceBytecodesAt=2107000 ---------------
                                          ...


      SOURCE:
      ========

      //--------------------- args00148.java:
      public class args00148 {

          public int run() {

      {
          int iarr[]=new int[1000];
          int j=0;

          for (j=0;j<999;j++){
      iarr[j]=1000-j;
          }
          for (j=0;j<999;j++){
      if (j%10 == 0){
      System.out.println(iarr[j]);
      }
          }
      }

      return 0;

          }

          public static void main (String args[]) {
      int i;
      i=(new args00148()).run();

          }
          
          
      }
      //---------------------

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

            rschmidtsunw Rene Schmidt (Inactive)
            zsssunw Zss Zss (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: