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

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

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: