harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiao-Feng Li (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-3990) [drlvm][thread]agent test detects the thread event problem
Date Tue, 29 May 2007 00:37:16 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-3990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12499648
] 

Xiao-Feng Li commented on HARMONY-3990:
---------------------------------------

With more thinking, I think it might be more appropriate to add THREAD_START event for the
finalizer and ref handler threads, because during their execution of object finalizers, JVMTI
events can be sent from them, so their thread identities should better be established from
THREAD_START.

> [drlvm][thread]agent test detects the thread event problem
> ----------------------------------------------------------
>
>                 Key: HARMONY-3990
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3990
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: win ia32, msvc, debug
>            Reporter: tatyana doubtsova
>         Attachments: agent_test.zip, agent_test.zip
>
>
> To reproduce (thanks to Ruslan Scherbakov) 
> unzip attached agent_test.zip, compile HellowWorld.java and run
> > .\run_win.bat <JAVA_HOME>
> =========================================================================================
> 1. run initial class
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or
its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r541992, (May 27 2007), Windows/ia32/msvc 1310, debug build
> http://incubator.apache.org/harmony
> HELLO.world
> =========================================================================================
> 2. run initial class WITH agent
> Agent_OnLoad: pVm=011E2388, options=(null)
> Agent_OnLoad: OK
>  1. VMInit                 : thread=0284D008,208D2928, pJniEnv=01248760
>  2. ThreadStart            : thread=0246DF58,208D2928, pJniEnv=01248760
> HELLO.world
>  3. MonitorWait            : thread=0246DF58,208D2928, pJniEnv=01248760, object=0013F1D0,208F3228,
timeout=0
>  4. MonitorContendedEnter  : thread=0246DF58,208D2928, pJniEnv=01248760, object=0013F1D0,208F3228
>  5. ThreadStart            : thread=02919618,208F3184, pJniEnv=02913C78
>  6. MonitorContendedEntered: thread=0246DF58,208D2928, pJniEnv=01248760, object=0013F1D0,208F3228
>  7. MonitorWaited          : thread=0246DF58,208D2928, pJniEnv=01248760, object=0013F1D0,208F3228,
timeout=0
>  8. MonitorWait            : thread=0246DF58,208D2928, pJniEnv=01248760, object=0013F1E0,208F3228,
timeout=0
>  9. MonitorContendedEnter  : thread=0246DF58,208D2928, pJniEnv=01248760, object=0013F1E0,208F3228
> 10. MonitorContendedEntered: thread=0246DF58,208D2928, pJniEnv=01248760, object=0013F1E0,208F3228
> 11. MonitorWaited          : thread=0246DF58,208D2928, pJniEnv=01248760, object=0013F1E0,208F3228,
timeout=0
> 12. ThreadEnd              : thread=02849220,20900224, pJniEnv=028452F0
>     ERROR  : ThreadEnd event for unmatched JNI ptr: 028452F0
> 13. ThreadEnd              : thread=028425C0,208F8224, pJniEnv=028401F8
>     ERROR  : ThreadEnd event for unmatched JNI ptr: 028401F8
> 14. ThreadEnd              : thread=02919618,208F3184, pJniEnv=02913C78
> 15. VMDeath                : pJniEnv=01248760

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message