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
    • 25
    • 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.
        4 compiler/debug tests ignore tested VM flags Sub-task Open Roberto Castaneda Lozano  
        2.
        Fix serviceability/jvmti/8036666/GetObjectLockCount.java to use vm flags Sub-task Resolved Leonid Mesnik  
        3.
        Update com/sun/jdi/ProcessAttachTest.java to use ProcessTools.createTestJvm(..) Sub-task Resolved Leonid Mesnik  
        4.
        Mark 3 jcmd command-line options test as vm.flagless Sub-task Resolved Leonid Mesnik  
        5.
        gc/arguments tests ignore external vm flags Sub-task Open Leo Korinth  
        6.
        serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java ignores vm flags Sub-task Resolved Leonid Mesnik  
        7.
        runtime/ErrorHandling/ tests ignore external VM flags Sub-task Resolved Mikhailo Seledtsov  
        8.
        NMT tests ignore vm flags Sub-task Resolved Mikhailo Seledtsov  
        9.
        Few runtime/os tests ignore vm flags Sub-task Resolved Mikhailo Seledtsov  
        10.
        serviceability/jdwp/AllModulesCommandTest.java ignores VM flags Sub-task Resolved Leonid Mesnik  
        11.
        gtest wrappers should be marked as flagless Sub-task Resolved Leonid Mesnik  
        12.
        Add clever skipping of test based on VM flags Sub-task Open Evgeny Nikitin  
        13.
        5 compiled/codecache tests ignore VM flags Sub-task Resolved Yi-Fan Tsai  
        14.
        3 compiler tests ignore vm flags Sub-task Resolved Evgeny Nikitin  
        15.
        3 gc/epsilon tests ignore external vm options Sub-task Resolved Ramkumar Sunderbabu  
        16.
        32 gc/g1 tests silently ignore vm options Sub-task Open Leo Korinth  
        17.
        zgc/genzgc tests ignore vm flags Sub-task Resolved Stefan Karlsson  
        18.
        3 gc/logging tests ignore vm flags Sub-task Open Leo Korinth  
        19.
        14 gc tests from various areas ignore vm flags Sub-task Open Leo Korinth  
        20.
        Rename createJavaProcessBuilder Sub-task Resolved Leo Korinth  
        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 Closed Ramkumar Sunderbabu  
        34.
        Several compiler tests ignore vm flags and not marked as flagless Sub-task Resolved Leonid Mesnik  
        35.
        Fix runtime/Thread/TestAlwaysPreTouchStacks.java to be flagless or accept VM flags Sub-task Resolved Afshin Zafari  
        36.
        Several more compiler tests ignore vm flags and don't have vm.flagless Sub-task Open Sendao Yan  

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

              Created:
              Updated: