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

Update or mark as vm.flagless tests that ignore external VM flags

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • 24
    • 22
    • hotspot

      There are some tests which start tested VM process ignoring test vm options such tests should be fixed or marked with requires.

      The all tests are split into several sub-tasks. Each task list explicitly failing tests.

      It is needed to better understand which tests are really test VM features enabled by flags and which just silently run without adding any value.
      The other goals are to extend test coverage by accepting various VM options and reduce execution time by skipping tests which are useless.

        1.
        Fix serviceability/jvmti/8036666/GetObjectLockCount.java to use vm flags Sub-task Resolved Leonid Mesnik  
        2.
        Update com/sun/jdi/ProcessAttachTest.java to use ProcessTools.createTestJvm(..) Sub-task Resolved Leonid Mesnik  
        3.
        Mark 3 jcmd command-line options test as vm.flagless Sub-task Resolved Leonid Mesnik  
        4.
        serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java ignores vm flags Sub-task Resolved Leonid Mesnik  
        5.
        runtime/ErrorHandling/ tests ignore external VM flags Sub-task Resolved Mikhailo Seledtsov  
        6.
        NMT tests ignore vm flags Sub-task Resolved Mikhailo Seledtsov  
        7.
        Few runtime/os tests ignore vm flags Sub-task Resolved Mikhailo Seledtsov  
        8.
        serviceability/jdwp/AllModulesCommandTest.java ignores VM flags Sub-task Resolved Leonid Mesnik  
        9.
        gtest wrappers should be marked as flagless Sub-task Resolved Leonid Mesnik  
        10.
        4 compiler/debug tests ignore tested VM flags Sub-task Open Roberto Castaneda Lozano  
        11.
        5 compiled/codecache tests ignore VM flags Sub-task Resolved Yi-Fan Tsai  
        12.
        3 compiler tests ignore vm flags Sub-task Resolved Evgeny Nikitin  
        13.
        gc/arguments tests ignore external vm flags Sub-task Open Leo Korinth  
        14.
        3 gc/epsilon tests ignore external vm options Sub-task Open Leo Korinth  
        15.
        32 gc/g1 tests silently ignore vm options Sub-task Open Leo Korinth  
        16.
        zgc/genzgc tests ignore vm flags Sub-task Resolved Stefan Karlsson  
        17.
        3 gc/logging tests ignore vm flags Sub-task Open Leo Korinth  
        18.
        14 gc tests from various areas ignore vm flags Sub-task Open Leo Korinth  
        19.
        Rename createJavaProcessBuilder Sub-task Resolved Leo Korinth  
        20.
        Add clever skipping of test based on VM flags Sub-task Open Evgeny Nikitin  
        21.
        Mark com/sun/management/HotSpotDiagnosticMXBean/CheckOrigin.java as vm.flagless Sub-task Resolved Leonid Mesnik  
        22.
        4 sun/management/jdp tests ignore VM flags Sub-task Resolved Leonid Mesnik  
        23.
        8 sun/management/jmxremote tests ignore VM flags Sub-task Resolved Leonid Mesnik  
        24.
        6 java/lang/instrument/PremainClass tests ignore VM flags Sub-task Resolved Leonid Mesnik  
        25.
        java/lang/instrument/modules/AppendToClassPathModuleTest.java ignores VM flags Sub-task Resolved Leonid Mesnik  
        26.
        4 javax/management tests ignore VM flags Sub-task Resolved Leonid Mesnik  
        27.
        sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.java ignores VM flags Sub-task Resolved Leonid Mesnik  
        28.
        3 sun/tools tests ignore VM flags Sub-task Resolved Leonid Mesnik  
        29.
        10 nsk debugger tests ignore VM flags while starting debugee Sub-task Open Ramkumar Sunderbabu  
        30.
        8 com/sun/jdi tests ignore VM flags Sub-task Open Ramkumar Sunderbabu  
        31.
        Few java/lang/instrument ignore test.java.opts and accept test.vm.opts only Sub-task Resolved Leonid Mesnik  
        32.
        runtime/os/TestHugePageDecisionsAtVMStartup.java ignores vm flags Sub-task Open Leonid Mesnik  
        33.
        runtime/Thread/TestAlwaysPreTouchStacks.java ignores vm flags Sub-task Open Ramkumar Sunderbabu  
        34.
        Several compiler tests ignore vm flags and not marked as flagless Sub-task Open Leonid Mesnik  
        35.
        Fix runtime/Thread/TestAlwaysPreTouchStacks.java to be flagless or accept VM flags Sub-task Open Afshin Zafari  

            lmesnik Leonid Mesnik
            lmesnik Leonid Mesnik
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: