We have 2 places with shared code for JVMTI tests:
test/lib/jdk/test/lib/jvmti/jvmti_common.h
and
test/hotspot/jtreg/vmTestbase/nsk/share/jvmti/
jvmti_common.h contains both declaration and definitions, NSK shared files have separate .h and .cpp files (.cpp files are included in test .cpp files)
There are some duplicate functions and cannot be used simultaneously (causes compiler errors).
Need to resolve conflicts and remove code duplication.
This allow nsk test to use jvmti_common.h code
test/lib/jdk/test/lib/jvmti/jvmti_common.h
and
test/hotspot/jtreg/vmTestbase/nsk/share/jvmti/
jvmti_common.h contains both declaration and definitions, NSK shared files have separate .h and .cpp files (.cpp files are included in test .cpp files)
There are some duplicate functions and cannot be used simultaneously (causes compiler errors).
Need to resolve conflicts and remove code duplication.
This allow nsk test to use jvmti_common.h code