harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rustem Rafikov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-1383) [util.concurrent] Some LockSupport unit tests fail after TM integration
Date Sun, 08 Oct 2006 18:47:23 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-1383?page=comments#action_12440775 ] 
Rustem Rafikov commented on HARMONY-1383:

Geir, Nathan,
1. The clearing of the flag is done in the DRLVM's java_lang_VMThreadManager.cpp. So we don't
need another change to make all working.
2. Geir is right that we need only apply the 1383-tm.patch  and LockSupport.java is attached
only for reproducing (as it was removed from DRLVM kernel classes for some reason). 

> [util.concurrent] Some LockSupport unit tests fail after TM integration
> -----------------------------------------------------------------------
>                 Key: HARMONY-1383
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1383
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Rustem Rafikov
>         Attachments: 1383-tm.patch, LockSupport.java, TestIntAfterPark.java, TestParkUntil.java
> Hi All, 
> Preparing a patch for juc integration I found some regressions after integration of ThreadManager.
> I used a DL's unit tests and the attached tests were extracted from them.
> To reproduce:
> 1. Put LockSupport.java (attached) in vm/vmcore/src/kernel_classes/javasrc/java/util/concurrent/locks/
> 2. build DRLVM (or kernel classes)
> 3. comment "concurrent.jar" in lib/bootclasspath.properties
> 4. Compile and run the tests attached.
> - TestParkUntil - hangs (looks like it does not calculate deadline)
> - TestIntAfterPark - shows that "interrupted" flag is not set after interruption of a
parked thread.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message