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

Resolve conflicts between serviceability/jvmti and nsk/jvmti shared code

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 20
    • None
    • hotspot
    • None
    • b21

      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

            amenkov Alex Menkov
            amenkov Alex Menkov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: