harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elena Semukhina (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-3379) [drlvm][jit][opt] smoke test gc.PhantomReferenceTest fails in OPT mode.
Date Thu, 15 Mar 2007 07:00:52 GMT

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

View raw message