harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo Li" <liyilei1...@gmail.com>
Subject Re: [IBMVME] IBMVME can't run j.u.c.Executors.newFixedThreadPool(int).
Date Sat, 26 May 2007 03:30:56 GMT
  Waiting for the next release...

On 5/26/07, Nathan Beyer <ndbeyer@apache.org> wrote:
>
> 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/
> >
>



-- 
Leo Li
China Software Development Lab, IBM

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message