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

serviceability/jvmti/GetLocalVariable/GetLocalWithoutSuspendTest.java fails on Windows in loom repo

XMLWordPrintable

      loom repo, Windows only, higher tier that runs the test with -Xbatch -Xcomp, -XX:-TieredCompilation, -XX:CompileThreshold=100.

      The test seems to get a stack overflow, typical output is:

      ----------System.out:(25/1585)*----------
      AGENT: Agent_OnLoad started.
      AGENT: Agent_Initialize started
      AGENT: Agent_Initialize finished
      AGENT: VM init event
      AGENT: Start new thread that performs GetLocalObject calls on a running target thread
      ### Java-Test: Set target thread for get local variable calls by agent.
      ### Java-Test: Test how many frames fit on the stack by performing recursive calls until
      ### Java-Test: StackOverflowError is thrown
      ### Java-Test: Testing with target depth: 20664
      ### Java-Test: Begin Test.
      ### Java-Test: 0 ms Iteration : 0 waitTime : 1
      # To suppress the following error report, specify this argument
      # after -XX: or in .hotspotrc: SuppressErrorAt=\\os_windows.cpp:2610
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (t:\\workspace\\open\\src\\hotspot\\os\\windows\\os_windows.cpp:2610), pid=27220, tid=52708
      # assert(!in_vm) failed: Undersized StackShadowPages
      #
      # JRE version: Java(TM) SE Runtime Environment (19.0) (fastdebug build 19-internal+0-2022-01-09-1508384.alan.bateman.loom)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 19-internal+0-2022-01-09-1508384.alan.bateman.loom, compiled mode, sharing, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
      # Core dump will be written. Default location: T:\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_hotspot_serviceability\\scratch\\4\\hs_err_pid27220.mdmp
      #
      # An error report file with more information is saved as:
      # T:\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_hotspot_serviceability\\scratch\\4\\hs_err_pid27220.log
      ----------System.err:(0/0)----------

            coleenp Coleen Phillimore
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: