harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "weldon washburn (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-4727) explicit allocation/deallocation of VM_thread structure
Date Tue, 04 Sep 2007 04:42:57 GMT

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

weldon washburn commented on HARMONY-4727:
------------------------------------------

While working on the task of explicit allocation and deallocation of the C structs, I discovered
that a thread is actually enumerated if it has been linked to the "group" (see register_to_group()
 ).  This may be before the C structs and j.l.Thread have been allocated and initialized.
 Attached is rough code that specifically determines if a given thread should be enumerated
as well as code that fixes the thread creation path for JNI_CreateJavaVM(), DestroyJavaVM(),
attach_current_thread().

Once the above thread lifecycle allocation code is cleaned up, I will focus on the deallocation
paths. 

> explicit allocation/deallocation of VM_thread structure 
> --------------------------------------------------------
>
>                 Key: HARMONY-4727
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4727
>             Project: Harmony
>          Issue Type: Sub-task
>            Reporter: weldon washburn
>         Attachments: explicit_alloc_and_dealloc_01.patch
>
>


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