You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "weldon washburn (JIRA)" <ji...@apache.org> on 2007/10/09 07:56:50 UTC

[jira] Commented: (HARMONY-4908) A prototype of a candidate synch algorithm for suspending a thread at a GC safepoint

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

weldon washburn commented on HARMONY-4908:
------------------------------------------

The (very rough) sync protocol kernel is contained in the three files StateTrans.java, synch_prototype.c and synch_prototype.diff.

StateTrans.java
This file contains a simple Java app that starts java threads which call Thread.sleep() with unique timeout values.  These unique values are intended to trigger specific behaviors inside sync_prototype.c.  The reason for spinning up Java threads from a Java app is so that the sync kernel can work with fully initialized java threads.

sync_prototype.c
This is a stand alone file that should be put in the working_vm/vm/thread/src directory.  The code in this file will be called by a special hack to thread_java_basic.cpp.

sync_prototype.diff
contains mods to a bunch of dlrvm files that allows the synch kernel contained in sync_prototype.c to be called.

> A prototype of a candidate synch algorithm for suspending a thread at a GC safepoint
> ------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4908
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4908
>             Project: Harmony
>          Issue Type: Sub-task
>            Reporter: weldon washburn
>            Assignee: weldon washburn
>         Attachments: StateTrans.java, sync_prototype.c, sync_prototype.diff
>
>


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