You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Elena Semukhina (JIRA)" <ji...@apache.org> on 2007/03/15 08:00:52 UTC

[jira] Commented: (HARMONY-3379) [drlvm][jit][opt] smoke test gc.PhantomReferenceTest fails in OPT mode.

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

Elena Semukhina commented on HARMONY-3379:
------------------------------------------

Discussion on dev@ list showed up a test problem. 

The 'ref' object is reclaimed because all its methods are inlined and it cannot be enqueued. It is the responsibility of the test to ensure that the 'ref' object remains reachable.

The simplest way to fix the test is to declare 'ref' as static as it was suggested at discussion.

> [drlvm][jit][opt] smoke test gc.PhantomReferenceTest fails in OPT mode.
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-3379
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3379
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Elena Semukhina
>         Attachments: PhantomReferenceTest.java
>
>
> Thesmoke test gc.PhantomReferenceTest fails with the following message on linux and windows in OPT mode while passes in JET/interpreter:
> FAIL: reference was not enqueued
>  

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