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

FieldAccessWatch testcase failed on AIX platform

XMLWordPrintable

    • b25
    • ppc
    • aix

        On AIX platform, test/hotspot/jtreg/serviceability/jvmti/FieldAccessWatch/FieldAccessWatch.java testcase failed by single testcase execution.

        On 11.0.16, AIX's compiler is changed from XL C++ 13.1.3 (xlc/xlC) to XL C++ 16.1 (xlclang/xlclang++).
        FieldAccessWatch testcase was failed during compiler migration on jtreg tier1.
        By single testcase execution, It worked fine with xlc compiler, but it did not work as expected with xlclang.
        I did not see this issue jtreg tier1 testcases execution on jdk17u-dev/jdk, but I could recreate this issue on jdk17u-dev/jdk by single testcae execution.

        Failure message is:
        ===============
        Error occurred during initialization of VM
        agent library failed to init: FieldAccessWatch
        Failed to set capabilities, error: 98
        ===============

        It seems following initialization code affects this issue
        ===============
        jvmtiCapabilities caps = {0};
        ===============

              itakiguchi Ichiroh Takiguchi
              itakiguchi Ichiroh Takiguchi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: