jdk-24/test/hotspot/jtreg/vmTestbase/nsk/share
Magnus Ihse Bursie 79345bbbae 8339783: Implement JEP 479: Remove the Windows 32-bit x86 Port
Reviewed-by: kbarrett, kvn, stuefe, shade, erikj
2024-11-13 09:41:57 +00:00
..
aod 8334305: Remove all code for nsk.share.Log verbose mode 2024-10-02 10:48:21 +00:00
classload 8261161: Clean up warnings in hotspot/jtreg/vmTestbase tests 2021-02-08 13:19:40 +00:00
ExceptionCheckingJniEnv 8324681: Replace NULL with nullptr in HotSpot jtreg test native code files 2024-01-29 17:07:32 +00:00
gc 8211400: nsk.share.gc.Memory::getArrayLength returns wrong value 2024-09-30 13:43:40 +00:00
jdb 8330535: Update nsk/jdb tests to use driver instead of othervm 2024-08-12 19:43:36 +00:00
jdi 8072701: resume001 failed due to ERROR: timeout for waiting for a BreakpintEvent 2024-07-15 20:26:52 +00:00
jdwp 8333117: Remove support of remote and manual debuggee launchers 2024-06-20 15:43:44 +00:00
jni 8324799: Use correct extension for C++ test headers 2024-02-29 06:24:42 +00:00
jpda 8333117: Remove support of remote and manual debuggee launchers 2024-06-20 15:43:44 +00:00
jvmti 8334305: Remove all code for nsk.share.Log verbose mode 2024-10-02 10:48:21 +00:00
locks 8324799: Use correct extension for C++ test headers 2024-02-29 06:24:42 +00:00
log 8284161: Implementation of Virtual Threads (Preview) 2022-05-07 08:06:16 +00:00
native 8339783: Implement JEP 479: Remove the Windows 32-bit x86 Port 2024-11-13 09:41:57 +00:00
runner 8303773: Replace "main.wrapper" with "test.thread.factory" property in test code 2023-10-03 15:03:47 +00:00
sysdict
test 8326121: vmTestbase/gc/g1/unloading/tests/unloading_keepRef_rootClass_inMemoryCompilation_keep_cl failed with Full gc happened. Test was useless. 2024-05-30 08:32:15 +00:00
AbstractGoldChecker.java
ArgumentParser.java 8252477: nsk/share/ArgumentParser should expect that jtreg "splits" an argument 2020-08-27 19:37:51 -07:00
ClassFileFinder.java 8276674: Malformed Javadoc inline tags in JDK source 2021-12-02 20:47:29 +00:00
ClassUnloader.java 8301684: Fix test code to not get finalizer deprecation warnings 2023-03-17 13:21:47 +00:00
Consts.java
CustomClassLoader.java 8301684: Fix test code to not get finalizer deprecation warnings 2023-03-17 13:21:47 +00:00
Debug.java
Denotation.java
DummyClassLoader.java
ExtraClassesBuilder.java
Failure.java
FileUtils.java
GoldChecker.java 8251126: nsk.share.GoldChecker should read golden file from ${test.src} 2020-08-05 16:39:38 -07:00
Grep.java
IORedirector.java 8213714: AttachingConnector/attach/attach001 failed due to "bind failed: Address already in use" 2021-08-10 19:13:18 +00:00
JVMTIagent.cpp 8324799: Use correct extension for C++ test headers 2024-02-29 06:24:42 +00:00
Log.java 8341412: Various test failures after JDK-8334305 2024-10-02 15:13:27 +00:00
MainWrapper.java 8307824: Clean up Finalizable.java and finalize terminology in vmTestbase/nsk/share 2024-06-04 19:18:41 +00:00
ObjectInstancesManager.java
Oddity.java
Pair.java
Paragrep.java
PrintProperties.java
RASagent.java
README 8326611: Clean up vmTestbase/nsk/stress/stack tests 2024-03-07 20:09:13 +00:00
ReferringObject.java
ReferringObjectSet.java
StringGoldChecker.java
TestBug.java
TestFailure.java
TestJNIError.java
TimeoutHandler.java
TreeNodesDenotation.java 8261161: Clean up warnings in hotspot/jtreg/vmTestbase tests 2021-02-08 13:19:40 +00:00
Wicket.java 8241456: ThreadRunner shouldn't use Wicket for threads starting synchronization 2020-04-02 17:30:21 -07:00

Copyright (c) 2003, 2020, Oracle and/or its affiliates. All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.

This code is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License version 2 only, as
published by the Free Software Foundation.

This code is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
version 2 for more details (a copy is included in the LICENSE file that
accompanied this code).

You should have received a copy of the GNU General Public License version
2 along with this work; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.

Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
or visit www.oracle.com if you need additional information or have any
questions.

---------------------------------------------------------------------------------

This directory contains source files of NSK tests framework
shared between all NSK tests.

Files located directly in this directory provide general support
for all tests.

Files in the subdirectories provide specific support for tests of
particular subsuites.

---------------------------------------------------------------------------------

Short description of files:

    common exceptions:
        Failure,java, TestBug.java, Oddity.java
    common constants:
        Consts.java
    parsing command line arguments:
        ArgumentPareser.java
    output of errors and messages:
        Log.java
    process running:
        LocalProcess.java, IORedirector.java
    class loading/unloading:
        DummyClassLoader.java, ZipClassLoader.java,
        CustomClassLoader.java, ClassUnloder.java
    objects finalization:
        Finalizable.java, FinalizableObject.java, Finalizer.java
    threads synchronization:
        Wicket.java
    text processing:
        Grep.java, Paragrep.java
    timeouts handling:
        TimeoutHandler.java
    tree structures support:
        Denotation.java, TreeNodesDenotation.java
    RAS mode support:
        RASagent.java, JVMTIagent.c

Short description of subdirectories:

    Alien       - support for accessing external tests (JCK)
    native      - support for native part of NSK tests
    jni         - support for JNI tests and accessing JNI API
    jvmti       - support for JVMTI tests and accessing JVMTI API
    jpda        - support for two-VMs JPDA tests
    jdwp        - support for JDWP tests and accessing JDWP API
    jdi         - support for JDI tests and accesing JDI API
    jdb         - support for JDB tests and accessing JDB tool
    monitoring  - support for monitoring tests and accessing Java Monitoring&Management API
    sysdict     - support for System Dictionary tests
    gc          - support for GC tests
    regression  - support for regression tests for known bugs
    split_verifier - support for Split Verifier tests

For more detailed description see README files in subdirectories.

---------------------------------------------------------------------------------

Naming conventions

Classes:

    All shared classes are groupped into packages to prevent
    name collision.

    All classes exported directly from this directory are
    of package:

        nsk.share

    All classes exported from subdirectories are of particular
    subpackage, e.g.:

        nsk.share.jpda
        nsk.share.jdwp
        nsk.share.jdi
        nsk.share.jdb
        nsk.share.sysdict

Native functions and macroses:

    Most native functions have special prefix to prevent linking collisions.
    Most macroses also have special prefix and are wrote in upper register.

    Here is typical naming scheme used for native functions and macroses:

        share/native
            functions: nsk_*
            macroses:  NSK_*

        share/jni
            functions: nsk_jni_*
            macroses:  NSK_JNI_*

        share/jvmti
            functions: nsk_jvmti_*
            macroses:  NSK_JVMTI_*

    However, some native functions and macroses do not follow this scheme,
    in order to preserve compatibility with old tests.

---------------------------------------------------------------------------------