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-4683) cleanup of JVMTI/java.lang.Thread data structures
Date Tue, 28 Aug 2007 18:11:31 GMT

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

weldon washburn commented on HARMONY-4683:

Some questions:

Does Java_java_lang_VMThreadManager_getState() return the correct answer when a thread is
in the NEW state?  Will it accidentally report TERMINATED when it is really NEW?
can you rename "hythread_t native_thread;" to something else?  There are way too many variables
called native_thread.  It will make grep work much nicer.
the mod for jthread_unpark() does an assert(hythread_t);  What happens if the target thread
has terminated and there is no hythread_t?  Will this cause an erroneous assert( )?
jthread_detach() -- why does it need to worry about TM_THREAD_STATE_INTERRUPTED if the thread
is dead?
vm_state field in java.lang.Thread does not appear to be updated when a thread sleeps or waits.

> cleanup of JVMTI/java.lang.Thread data structures
> -------------------------------------------------
>                 Key: HARMONY-4683
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4683
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: DRLVM
>            Reporter: weldon washburn
>            Assignee: weldon washburn
>         Attachments: H4683.patch, H4683.patch, H4683.patch

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

View raw message