harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Pervov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-3909) [DRLVM][Thread] Problems with associating native thread with Java thread when using AttachCurrentThread[AsDaemon]
Date Thu, 24 May 2007 14:27:16 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-3909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pavel Pervov updated HARMONY-3909:
----------------------------------

    Attachment: H3909.patch

1) Fixed assigning finalizer and reference queue threads to "system" thread group instead
of "main" thread group.
2) Fixed code which assigns context class loader. Black magic assuming knowledge of field
layout was removed.

One question left here: which thread group should GC threads belong to?

> [DRLVM][Thread] Problems with associating native thread with Java thread when using AttachCurrentThread[AsDaemon]
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3909
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3909
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: win/linux 32/64
>            Reporter: Li-Gang Wang
>         Attachments: H3909.patch
>
>
> There are two problems when associating native threads to Java ones with the threading
API AttachCurrentThread[AsDaemon]:
> 1. The newly associated Java thread's group is not properly assigned. In Eclipse debugger
all threads and thread groups can not be seen when turning on 'view thread groups'.
> 2. The newly associated Java threads are not assigned a context class loader.

-- 
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