jdk-24/test/hotspot/jtreg/vmTestbase/nsk/share
Mikael Vidstedt 3318314c7c 8237589: Fix copyright header formatting
Reviewed-by: jjg, serb, iris, jwilhelm
2020-01-21 14:23:01 -08:00
..
aod 8212939: Add space after if/while/for/switch and parenthesis 2018-11-12 13:13:00 -08:00
classload 8208697: vmTestbase/metaspace/stressHierarchy/stressHierarchy012/TestDescription.java fails with OutOfMemoryError: Metaspace 2018-09-10 16:33:55 -04:00
ExceptionCheckingJniEnv 8223044: Add back exception checking in tests 2019-05-07 07:43:41 -07:00
gc 8226536: Catch OOM from deopt that fails rematerializing objects 2019-07-10 18:48:05 +02:00
jdb 8210987: Extra newlines on Windows when running nsk jdb tests 2018-09-22 14:12:48 -07:00
jdi 8235530: Removed duplicated threadByName methods in nsk/jdi tests 2019-12-09 13:02:07 -08:00
jdwp 8199371: [TESTBUG] Open source vm testbase JDWP tests 2018-05-30 20:54:45 -07:00
jni 8237589: Fix copyright header formatting 2020-01-21 14:23:01 -08:00
jpda 8232684: Make switch expressions final 2019-11-12 06:32:13 +00:00
jvmti 8229036: Remove the testing against NSK_TRUE from tests 2019-08-08 04:29:56 -07:00
locks 8232684: Make switch expressions final 2019-11-12 06:32:13 +00:00
log 8199643: [TESTBUG] Open source common VM testbase code 2018-04-30 18:10:24 -07:00
native 8237589: Fix copyright header formatting 2020-01-21 14:23:01 -08:00
runner 8232684: Make switch expressions final 2019-11-12 06:32:13 +00:00
sysdict 8199643: [TESTBUG] Open source common VM testbase code 2018-04-30 18:10:24 -07:00
test 8216563: [TESTBUG] Change stressTime to default to 30 for nsk tests (part 2) 2019-01-15 14:55:45 -05:00
AbstractGoldChecker.java 8199643: [TESTBUG] Open source common VM testbase code 2018-04-30 18:10:24 -07:00
ArgumentParser.java 8199375: [TESTBUG] Open source vm testbase monitoring tests 2018-05-02 16:43:56 -07:00
ClassFileFinder.java 8199643: [TESTBUG] Open source common VM testbase code 2018-04-30 18:10:24 -07:00
ClassUnloader.java 8199643: [TESTBUG] Open source common VM testbase code 2018-04-30 18:10:24 -07:00
Consts.java 8199643: [TESTBUG] Open source common VM testbase code 2018-04-30 18:10:24 -07:00
CustomClassLoader.java 8199643: [TESTBUG] Open source common VM testbase code 2018-04-30 18:10:24 -07:00
Debug.java 8199643: [TESTBUG] Open source common VM testbase code 2018-04-30 18:10:24 -07:00
Denotation.java 8199643: [TESTBUG] Open source common VM testbase code 2018-04-30 18:10:24 -07:00
DummyClassLoader.java 8199643: [TESTBUG] Open source common VM testbase code 2018-04-30 18:10:24 -07:00
ExtraClassesBuilder.java 8199382: [TESTBUG] Open source VM testbase JDI tests 2018-05-05 09:24:29 -07:00
Failure.java 8199643: [TESTBUG] Open source common VM testbase code 2018-04-30 18:10:24 -07:00
FileUtils.java 8199643: [TESTBUG] Open source common VM testbase code 2018-04-30 18:10:24 -07:00
Finalizable.java 8199643: [TESTBUG] Open source common VM testbase code 2018-04-30 18:10:24 -07:00
FinalizableObject.java 8199643: [TESTBUG] Open source common VM testbase code 2018-04-30 18:10:24 -07:00
Finalizer.java 8199643: [TESTBUG] Open source common VM testbase code 2018-04-30 18:10:24 -07:00
GoldChecker.java 8199643: [TESTBUG] Open source common VM testbase code 2018-04-30 18:10:24 -07:00
Grep.java 8199643: [TESTBUG] Open source common VM testbase code 2018-04-30 18:10:24 -07:00
Harakiri.java 8199643: [TESTBUG] Open source common VM testbase code 2018-04-30 18:10:24 -07:00
IORedirector.java 8199643: [TESTBUG] Open source common VM testbase code 2018-04-30 18:10:24 -07:00
JVMDITools.cpp 8210481: Remove #ifdef cplusplus from vmTestbase 2018-09-17 19:36:09 -07:00
JVMDITools.h 8210481: Remove #ifdef cplusplus from vmTestbase 2018-09-17 19:36:09 -07:00
JVMTIagent.cpp 8215160: Normalize spaces for remaining vmTestbase tests 2018-12-11 12:45:38 -08:00
LocalProcess.java 8199643: [TESTBUG] Open source common VM testbase code 2018-04-30 18:10:24 -07:00
Log.java 8199643: [TESTBUG] Open source common VM testbase code 2018-04-30 18:10:24 -07:00
NativeUtils.java 8199643: [TESTBUG] Open source common VM testbase code 2018-04-30 18:10:24 -07:00
ObjectInstancesManager.java 8199643: [TESTBUG] Open source common VM testbase code 2018-04-30 18:10:24 -07:00
Oddity.java 8199643: [TESTBUG] Open source common VM testbase code 2018-04-30 18:10:24 -07:00
Pair.java 8199643: [TESTBUG] Open source common VM testbase code 2018-04-30 18:10:24 -07:00
Paragrep.java 8199643: [TESTBUG] Open source common VM testbase code 2018-04-30 18:10:24 -07:00
PrintProperties.java 8199643: [TESTBUG] Open source common VM testbase code 2018-04-30 18:10:24 -07:00
RASagent.java 8199643: [TESTBUG] Open source common VM testbase code 2018-04-30 18:10:24 -07:00
README 8237589: Fix copyright header formatting 2020-01-21 14:23:01 -08:00
ReferringObject.java 8199643: [TESTBUG] Open source common VM testbase code 2018-04-30 18:10:24 -07:00
ReferringObjectSet.java 8199643: [TESTBUG] Open source common VM testbase code 2018-04-30 18:10:24 -07:00
StringGoldChecker.java 8199643: [TESTBUG] Open source common VM testbase code 2018-04-30 18:10:24 -07:00
TestBug.java 8199643: [TESTBUG] Open source common VM testbase code 2018-04-30 18:10:24 -07:00
TestFailure.java 8199643: [TESTBUG] Open source common VM testbase code 2018-04-30 18:10:24 -07:00
TestJNIError.java 8199643: [TESTBUG] Open source common VM testbase code 2018-04-30 18:10:24 -07:00
TimeoutHandler.java 8199643: [TESTBUG] Open source common VM testbase code 2018-04-30 18:10:24 -07:00
TreeNodesDenotation.java 8199643: [TESTBUG] Open source common VM testbase code 2018-04-30 18:10:24 -07:00
Wicket.java 8199643: [TESTBUG] Open source common VM testbase code 2018-04-30 18:10:24 -07:00

Copyright (c) 2003, 2018, 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:
        Harakiri.java, TimeoutHandler.java
    tree structures support:
        Denotation.java, TreeNodesDenotation.java
    RAS mode support:
        RASagent.java, JVMTIagent.c
    JVMDI tests support:
        JVMDITools.h, JVMDITools.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.

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