harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Beyer" <ndbe...@apache.org>
Subject Re: [IBMVME] IBMVME can't run j.u.c.Executors.newFixedThreadPool(int).
Date Sat, 26 May 2007 02:44:13 GMT
Known issue. Anything that depends on sun.misc.Unsafe from
java.util.concurrent will not work on IBM VME.

On 5/25/07, Andrew Zhang <zhanghuangzhu@gmail.com> wrote:
> Hi,
>
> I  tried to run following code with IBMVME,
>
> Executors.newFixedThreadPool(_threadCount);
>
> but I got:
>
> java.lang.NoClassDefFoundError: org.apache.harmony.kernel.vm.Objects
>     at sun.misc.Unsafe.<init>(Unsafe.java:64)
>     at sun.misc.Unsafe.<clinit>(Unsafe.java:34)
>     at java.lang.J9VMInternals.initializeImpl(Native Method)
>     at java.lang.J9VMInternals.initialize(J9VMInternals.java:177)
>     at java.util.concurrent.atomic.AtomicInteger.<clinit>(AtomicInteger.java
> :28)
>     at java.lang.J9VMInternals.initializeImpl(Native Method)
>     at java.lang.J9VMInternals.initialize(J9VMInternals.java:177)
>     at java.util.concurrent.LinkedBlockingQueue.<init>(
> LinkedBlockingQueue.java:75)
>     at java.util.concurrent.LinkedBlockingQueue.<init>(
> LinkedBlockingQueue.java:164)
>     at java.util.concurrent.Executors.newFixedThreadPool(Executors.java:55)
> ...
>
> Is it a known issue with IBMVME? or did I miss something? Thanks!
>
> ps: it works with DRLVM.
>
>
> --
> Best regards,
> Andrew Zhang
>
> http://zhanghuangzhu.blogspot.com/
>

Mime
View raw message