You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Li-Gang Wang (JIRA)" <ji...@apache.org> on 2007/04/06 17:04:32 UTC

[jira] Created: (HARMONY-3588) Bug fixing for native finalizer thread mechanism

Bug fixing for native finalizer thread mechanism
------------------------------------------------

                 Key: HARMONY-3588
                 URL: https://issues.apache.org/jira/browse/HARMONY-3588
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
         Environment: Win/Lnx * 32/64bits
            Reporter: Li-Gang Wang
         Attachments: 01_native_fin.patch

This patch fixes a bug related to native finalizer thread shutdown and a weak ref/finalizer interaction bug.

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


[jira] Closed: (HARMONY-3588) Bug fixing for native finalizer thread mechanism

Posted by "Xiao-Feng Li (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiao-Feng Li closed HARMONY-3588.
---------------------------------

    Resolution: Fixed

Tested on WIN/Lin 32/64 platforms. 

I am feeling this patch is only a temporary workaround for some issues in threading subsystem. Let's wait for the threading subsystem to be cleaned up and then re-examine this issue. 

> Bug fixing for native finalizer thread mechanism
> ------------------------------------------------
>
>                 Key: HARMONY-3588
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3588
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Win/Lnx * 32/64bits
>            Reporter: Li-Gang Wang
>         Assigned To: Xiao-Feng Li
>         Attachments: 01_native_fin.patch, 02_native_fin.patch, 03_native_finref.patch, 04_native_finref.patch
>
>
> This patch fixes a bug related to native finalizer thread shutdown and a weak ref/finalizer interaction bug.

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


[jira] Commented: (HARMONY-3588) Bug fixing for native finalizer thread mechanism

Posted by "Li-Gang Wang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12487437 ] 

Li-Gang Wang commented on HARMONY-3588:
---------------------------------------

Please use 02_native_fin.patch for patching. It is an updated version.

> Bug fixing for native finalizer thread mechanism
> ------------------------------------------------
>
>                 Key: HARMONY-3588
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3588
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Win/Lnx * 32/64bits
>            Reporter: Li-Gang Wang
>         Assigned To: Xiao-Feng Li
>         Attachments: 01_native_fin.patch, 02_native_fin.patch
>
>
> This patch fixes a bug related to native finalizer thread shutdown and a weak ref/finalizer interaction bug.

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


[jira] Updated: (HARMONY-3588) Bug fixing for native finalizer thread mechanism

Posted by "Li-Gang Wang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Li-Gang Wang updated HARMONY-3588:
----------------------------------

    Attachment: 01_native_fin.patch

> Bug fixing for native finalizer thread mechanism
> ------------------------------------------------
>
>                 Key: HARMONY-3588
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3588
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Win/Lnx * 32/64bits
>            Reporter: Li-Gang Wang
>         Attachments: 01_native_fin.patch
>
>
> This patch fixes a bug related to native finalizer thread shutdown and a weak ref/finalizer interaction bug.

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


[jira] Updated: (HARMONY-3588) Bug fixing for native finalizer thread mechanism

Posted by "Li-Gang Wang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Li-Gang Wang updated HARMONY-3588:
----------------------------------

    Attachment: 03_native_finref.patch

> Bug fixing for native finalizer thread mechanism
> ------------------------------------------------
>
>                 Key: HARMONY-3588
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3588
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Win/Lnx * 32/64bits
>            Reporter: Li-Gang Wang
>         Assigned To: Xiao-Feng Li
>         Attachments: 01_native_fin.patch, 02_native_fin.patch, 03_native_finref.patch
>
>
> This patch fixes a bug related to native finalizer thread shutdown and a weak ref/finalizer interaction bug.

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


[jira] Updated: (HARMONY-3588) Bug fixing for native finalizer thread mechanism

Posted by "Li-Gang Wang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Li-Gang Wang updated HARMONY-3588:
----------------------------------

    Attachment: 02_native_fin.patch

> Bug fixing for native finalizer thread mechanism
> ------------------------------------------------
>
>                 Key: HARMONY-3588
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3588
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Win/Lnx * 32/64bits
>            Reporter: Li-Gang Wang
>         Assigned To: Xiao-Feng Li
>         Attachments: 01_native_fin.patch, 02_native_fin.patch
>
>
> This patch fixes a bug related to native finalizer thread shutdown and a weak ref/finalizer interaction bug.

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


[jira] Assigned: (HARMONY-3588) Bug fixing for native finalizer thread mechanism

Posted by "Xiao-Feng Li (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiao-Feng Li reassigned HARMONY-3588:
-------------------------------------

    Assignee: Xiao-Feng Li

> Bug fixing for native finalizer thread mechanism
> ------------------------------------------------
>
>                 Key: HARMONY-3588
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3588
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Win/Lnx * 32/64bits
>            Reporter: Li-Gang Wang
>         Assigned To: Xiao-Feng Li
>         Attachments: 01_native_fin.patch
>
>
> This patch fixes a bug related to native finalizer thread shutdown and a weak ref/finalizer interaction bug.

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


[jira] Commented: (HARMONY-3588) Bug fixing for native finalizer thread mechanism

Posted by "Li-Gang Wang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12487972 ] 

Li-Gang Wang commented on HARMONY-3588:
---------------------------------------

Please use 03_native_finref.patch for patching.

In this patch I removed the GC part and separated the finalizer thread and ref enqueue thread parts. It is clearer now.

> Bug fixing for native finalizer thread mechanism
> ------------------------------------------------
>
>                 Key: HARMONY-3588
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3588
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Win/Lnx * 32/64bits
>            Reporter: Li-Gang Wang
>         Assigned To: Xiao-Feng Li
>         Attachments: 01_native_fin.patch, 02_native_fin.patch, 03_native_finref.patch
>
>
> This patch fixes a bug related to native finalizer thread shutdown and a weak ref/finalizer interaction bug.

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


[jira] Updated: (HARMONY-3588) Bug fixing for native finalizer thread mechanism

Posted by "Li-Gang Wang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Li-Gang Wang updated HARMONY-3588:
----------------------------------

    Attachment: 04_native_finref.patch

Please use 04_native_finref.patch for patching.

I improved the native finalizer thread waiting during shutdown in this patch.

> Bug fixing for native finalizer thread mechanism
> ------------------------------------------------
>
>                 Key: HARMONY-3588
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3588
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Win/Lnx * 32/64bits
>            Reporter: Li-Gang Wang
>         Assigned To: Xiao-Feng Li
>         Attachments: 01_native_fin.patch, 02_native_fin.patch, 03_native_finref.patch, 04_native_finref.patch
>
>
> This patch fixes a bug related to native finalizer thread shutdown and a weak ref/finalizer interaction bug.

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