JDK-7012689 : NativeInstanceFilter.java fails due to "Event from native frame not filtered out."
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jvmti
  • Affected Version: hs20
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2011-01-17
  • Updated: 2013-06-07
  • Resolved: 2011-01-21
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
The following JDI_REGRESSION test failed in all of my configs of
baseline JDK7-B125 testing on both Solaris X86 and Win32:

    com/sun/jdi/NativeInstanceFilter.java

Here is a snippet from the .jtr file:

----------System.err:(15/927)----------
java.lang.Exception: Failed: Event from native frame not filtered out.
        at NativeInstanceFilter.runTests(NativeInstanceFilter.java:117)
        at JDIScaffold.startTests(JDIScaffold.java:248)
        at NativeInstanceFilter.main(NativeInstanceFilter.java:51)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:613)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
        at java.lang.Thread.run(Thread.java:732)

JavaTest Message: Test threw exception: java.lang.Exception: Failed: Event from native frame not filtered out.
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.Exception: Failed: Event from native frame not filtered out.
result: Failed. Execution failed: `main' threw exception: java.lang.Exception: Failed: Event from native frame not filtered out.


test result: Failed. Execution failed: `main' threw exception: java.lang.Exception: Failed: Event from native frame not filtered out.

Comments
EVALUATION The NativeInstanceFilter.java test was added by the fix for the following bug: 6436034 3/4 Instance filter doesn't filter event if it occurs in native method The fix for 6436034 was pushed to T&L on 2011.01.12 and will be included in the JDK7-B128 T&L PIT. 6436034 tracks the JDK side of the fix. The HotSpot side of the fix is tracked by the following two bugs: 7003782 3/4 Update JVMTI version to 1.2 for jdk7 7004582 3/4 Add GetLocalInstance() function to JVMTI 1.2 The fixes for 7003782 and 7004582 were promoted in HSX-20-B04/JDK7-B123. In my local testing environment, I always run the latest SDK/JDK tests available in my T&L clone. In this particular case, I'm running a test that will be available in JDK7-B128 bits on JDK7-B125. I'm closing this bug as a duplicate of 6436034 and I will add the new test name to that bug.
21-01-2011