harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hindess (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (HARMONY-6280) [classlib][concurrent] AtomicLong class fails with UnsatisfiedLinkError missing VMSupportsCS8
Date Tue, 21 Jul 2009 12:47:15 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-6280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mark Hindess reassigned HARMONY-6280:
-------------------------------------

    Assignee: Mark Hindess

> [classlib][concurrent] AtomicLong class fails with UnsatisfiedLinkError missing VMSupportsCS8
> ---------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6280
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6280
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: all, running with IBM VME
>            Reporter: Catherine Hope
>            Assignee: Mark Hindess
>         Attachments: 6280-patch.txt
>
>
> The AtomicLong class fails to load with an UnsatisfiedLinkError when running on IBM VME,
because the VMSupportsCS8 function is not provided by the VM.  It calls this function to set
the AtomicLong.VM_SUPPORTS_LONG_CAS field which is referenced by AtomicLongFieldUpdater to
switch between using different field updaters.
> The Harmony Select build works around this by patching the class to always set AtomicLong.VM_SUPPORTS_LONG_CAS
to true.
> The proposed fix it to try to use the VMSupportsCS8 function, but catch the UnsatisfieldLinkError
and set the field to default to true in that case.

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


Mime
View raw message