All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Openjdk shark and cacao VMs not working
@ 2010-07-21  9:06 Koen Kooi
  0 siblings, 0 replies; 2+ messages in thread
From: Koen Kooi @ 2010-07-21  9:06 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 19-07-10 11:37, Koen Kooi wrote:
> Hi,
>
> I built openjdk completely from scratch and installed it:
>
> opkg install openjdk-6-common openjdk-6-demo openjdk-6-java
> openjdk-6-jdk openjdk-6-jre
>
> opkg install openjdk-6-vm-shark openjdk-6-vm-cacao
>
> That needs to be done in 2 opkg commands since -cacao and -shark edit a
> jvm.cfg in their postinst which isn't in their Depends: line. Trivial to
> fix, need to sit down and see in which package it resides.
>
> So:
>
> root@beagleboard-C4:~# java -zero Linpack # [1]
> Mflops/s: 9.537  Time: 0.07 secs  Norm Res: 1.43  Precision:
> 2.220446049250313E-16
>
> So far, so good. Better than the 3 Mflops jamvm+classpath gets, but not
> as nice as the 16Mflops cacao+classpath can do.
>
> So lets try some other VMs:
>
> root@beagleboard-C4:~# java -shark Linpack
> ARMCodeEmitter::emitPseudoInstruction
> UNREACHABLE executed at
> /OE/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/llvm2.7-2.7-r6/llvm-2.7/lib/Target/ARM/ARMCodeEmitter.cpp:554!
> Stack dump:
> 0.      Running pass 'ARM Machine Code Emitter' on function
> '@"Linpack::daxpy"'
> Aborted
>
> OK, Xerxes blogged about debugging such issues, but the summer intern is
> too busy with other stuff currently.
>
> root@beagleboard-C4:~# java -cacao Linpack
> java: avl.c:348: avl_find: Assertion `tree' failed.
> Aborted
>
> No idea on that.
>
> Do the java mages have some idea on how to get shark and cacao working well?

So, after yesterdays commits:

root@beagleboard-C4:~# java -shark Linpack
Mflops/s: 1.416  Time: 0.49 secs  Norm Res: 1.43  Precision:
2.220446049250313E-16
root@beagleboard-C4:~# java -zero Linpack
Mflops/s: 8.918  Time: 0.08 secs  Norm Res: 1.43  Precision:
2.220446049250313E-16
root@beagleboard-C4:~# java -cacao Linpack
Mflops/s: 20.808  Time: 0.03 secs  Norm Res: 1.43  Precision:
2.220446049250313E-16
root@beagleboard-C4:~#

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFMRriXMkyGM64RGpERAuaxAJ9uDgLjBWTeY6jIcrZ/9qYtM0DS+ACfUx14
VmZeDQWat8eU6BfK8Lm1U3I=
=zMJm
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 2+ messages in thread
* Openjdk shark and cacao VMs not working
@ 2010-07-19  9:37 Koen Kooi
  0 siblings, 0 replies; 2+ messages in thread
From: Koen Kooi @ 2010-07-19  9:37 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I built openjdk completely from scratch and installed it:

opkg install openjdk-6-common openjdk-6-demo openjdk-6-java
openjdk-6-jdk openjdk-6-jre

opkg install openjdk-6-vm-shark openjdk-6-vm-cacao

That needs to be done in 2 opkg commands since -cacao and -shark edit a
jvm.cfg in their postinst which isn't in their Depends: line. Trivial to
fix, need to sit down and see in which package it resides.

So:

root@beagleboard-C4:~# java -zero Linpack # [1]
Mflops/s: 9.537  Time: 0.07 secs  Norm Res: 1.43  Precision:
2.220446049250313E-16

So far, so good. Better than the 3 Mflops jamvm+classpath gets, but not
as nice as the 16Mflops cacao+classpath can do.

So lets try some other VMs:

root@beagleboard-C4:~# java -shark Linpack
ARMCodeEmitter::emitPseudoInstruction
UNREACHABLE executed at
/OE/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/llvm2.7-2.7-r6/llvm-2.7/lib/Target/ARM/ARMCodeEmitter.cpp:554!
Stack dump:
0.      Running pass 'ARM Machine Code Emitter' on function
'@"Linpack::daxpy"'
Aborted

OK, Xerxes blogged about debugging such issues, but the summer intern is
too busy with other stuff currently.

root@beagleboard-C4:~# java -cacao Linpack
java: avl.c:348: avl_find: Assertion `tree' failed.
Aborted

No idea on that.

Do the java mages have some idea on how to get shark and cacao working well?

regards,

Koen

[1] http://www.netlib.org/benchmark/linpackjava/LinpackJava.zip compiled
with javac on osx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFMRBzPMkyGM64RGpERAiEJAJ4yeJVBcvuwHzVbS++Zt5iI9Rp11QCgm3aB
Xqj79L9E1QpIz19c0QSxh6o=
=OBoo
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-07-21  9:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-21  9:06 Openjdk shark and cacao VMs not working Koen Kooi
  -- strict thread matches above, loose matches on Subject: below --
2010-07-19  9:37 Koen Kooi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.