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

Updated tests using LingeredApp to execute debugger VM with driver

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 15
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      svc

      Description

      There are a lot of tests in SA and JDI area which start LingeredApp and inspect it. The debugger code in such tests should be executed as a driver instead of othervm. It helps to reduce the time of execution.

      Here is there grep -l LingeredApp list which helps to find candidates:
      test/hotspot/jtreg/serviceability/attach/RemovingUnixDomainSocketTest.java
      test/hotspot/jtreg/serviceability/attach/ConcAttachTest.java
      test/hotspot/jtreg/serviceability/attach/AttachNegativePidTest.java
      test/hotspot/jtreg/serviceability/sa/LingeredAppWithDefaultMethods.java
      test/hotspot/jtreg/serviceability/sa/CDSJMapClstats.java
      test/hotspot/jtreg/serviceability/sa/LingeredAppWithLock.java
      test/hotspot/jtreg/serviceability/sa/ClhsdbFindPC.java
      test/hotspot/jtreg/serviceability/sa/JhsdbThreadInfoTest.java
      test/hotspot/jtreg/serviceability/sa/ClhsdbCDSJstackPrintAll.java
      test/hotspot/jtreg/serviceability/sa/TestPrintMdo.java
      test/hotspot/jtreg/serviceability/sa/ClhsdbPrintAll.java
      test/hotspot/jtreg/serviceability/sa/ClhsdbWhere.java
      test/hotspot/jtreg/serviceability/sa/LingeredAppWithTrivialMain.java
      test/hotspot/jtreg/serviceability/sa/TestDefaultMethods.java
      test/hotspot/jtreg/serviceability/sa/ClhsdbJhisto.java
      test/hotspot/jtreg/serviceability/sa/ClhsdbVmStructsDump.java
      test/hotspot/jtreg/serviceability/sa/ClhsdbLauncher.java
      test/hotspot/jtreg/serviceability/sa/LingeredAppWithEnum.java
      test/hotspot/jtreg/serviceability/sa/sadebugd/DebugdConnectTest.java
      test/hotspot/jtreg/serviceability/sa/sadebugd/SADebugDTest.java
      test/hotspot/jtreg/serviceability/sa/ClhsdbFlags.java
      test/hotspot/jtreg/serviceability/sa/ClhsdbAttach.java
      test/hotspot/jtreg/serviceability/sa/TestType.java
      test/hotspot/jtreg/serviceability/sa/TestClassDump.java
      test/hotspot/jtreg/serviceability/sa/ClhsdbLongConstant.java
      test/hotspot/jtreg/serviceability/sa/ClhsdbJdis.java
      test/hotspot/jtreg/serviceability/sa/ClhsdbJstackXcompStress.java
      test/hotspot/jtreg/serviceability/sa/TestClhsdbJstackLock.java
      test/hotspot/jtreg/serviceability/sa/ClhsdbJstack.java
      test/hotspot/jtreg/serviceability/sa/ClhsdbPrintStatics.java
      test/hotspot/jtreg/serviceability/sa/ClhsdbInspect.java
      test/hotspot/jtreg/serviceability/sa/TestInstanceKlassSizeForInterface.java
      test/hotspot/jtreg/serviceability/sa/ClhsdbSource.java
      test/hotspot/jtreg/serviceability/sa/TestInstanceKlassSize.java
      test/hotspot/jtreg/serviceability/sa/TestHeapDumpForInvokeDynamic.java
      test/hotspot/jtreg/serviceability/sa/TestRevPtrsForInvokeDynamic.java
      test/hotspot/jtreg/serviceability/sa/TestCpoolForInvokeDynamic.java
      test/hotspot/jtreg/serviceability/sa/TestUniverse.java
      test/hotspot/jtreg/serviceability/sa/ClhsdbScanOops.java
      test/hotspot/jtreg/serviceability/sa/DeadlockDetectionTest.java
      test/hotspot/jtreg/serviceability/sa/ClhsdbThread.java
      test/hotspot/jtreg/serviceability/sa/ClhsdbPstack.java
      test/hotspot/jtreg/serviceability/sa/ClhsdbPrintAs.java
      test/hotspot/jtreg/serviceability/sa/libNoFramePointer.c
      test/hotspot/jtreg/serviceability/sa/ClhsdbField.java
      test/hotspot/jtreg/serviceability/sa/TestJhsdbJstackLock.java
      test/hotspot/jtreg/serviceability/sa/TestJhsdbJstackMixed.java
      test/hotspot/jtreg/serviceability/sa/TestG1HeapRegion.java
      test/hotspot/jtreg/serviceability/sa/TestIntConstant.java
      test/hotspot/jtreg/serviceability/sa/ClhsdbPmap.java
      test/hotspot/jtreg/resourcehogs/serviceability/sa/TestHeapDumpForLargeArray.java
      test/hotspot/jtreg/resourcehogs/serviceability/sa/ClhsdbRegionDetailsScanOopsForG1.java
      test/jdk/sun/tools/jstack/DeadlockDetectionTest.java
      test/jdk/sun/tools/jinfo/JInfoTest.java
      test/jdk/sun/tools/jhsdb/HeapDumpTest.java
      test/jdk/sun/tools/jhsdb/heapconfig/JMapHeapConfigTest.java
      test/jdk/sun/tools/jhsdb/LingeredAppWithExtendedChars.java
      test/jdk/sun/tools/jhsdb/BasicLauncherTest.java
      test/jdk/sun/tools/jps/JpsHelper.java
      test/jdk/sun/tools/jps/TestJps.java
      test/jdk/sun/tools/jps/TestJpsSanity.java
      test/jdk/sun/jvmstat/monitor/MonitoredVm/TestPollingInterval.java
      test/jdk/com/sun/jdi/JdwpAllowTest.java
      test/jdk/com/sun/jdi/JdwpAttachTest.java



        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lmesnik Leonid Mesnik
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: