Re: Scala Fork-join-implementation - .net uses nearly 100% cpu, while running on JVM doesn't add significant cpu load

Jeroen Frijters <[email protected]>
Newsgroups gmane.comp.java.ikvm.devel
Message-ID <[email protected]>
>From the stack trace you can see that the scala forkjoin code uses sun.misc.Unsafe. That means it isn't a Java library, but a JDK specific library.

________________________________
From: Andreas Ländle <[email protected]>
Sent: Wednesday, April 2, 2014 7:34 AM
To: [email protected]
Subject: [Ikvm-developers] Scala Fork-join-implementation - .net uses nearly 100% cpu, while running on JVM doesn't add significant cpu load

Hello,

please excuse, if this isn't the right forum to discuss my problem.
I just played around with IKVM and the Akka Simple Cluster example (https://github.com/akka/akka/tree/master/akka-samples/akka-sample-cluster-java/src/main/java/sample/cluster/simple).
All went fine, but if I run the converted code on the .net runtime the CPU load is significantly higher.

As far as I can tell (from the .net profiling) the problem seems to occur inside the ForkJoinPool - but even after comparing this output with the one from the NetBeans Performace profiler of the original java program, I still have no idea want's wrong here.
So I hope there is somebody who can push me to the right direction - so that I'm able to understand the problem. Or maybe this is already something that is a problem that is common knowledge under IKVM users/developers?

How ever, thanks in advance for any hint.

[cid:[email protected]]

Best regards,
Andreas Ländle

***************************************************************************
Soloplan GmbH
Software für Logistik und Planung
Burgstraße 20 | 87435 Kempten | Deutschland
Web: www.soloplan.de<http://www.soloplan.de>
Geschäftsführer: Wolfgang Heidl, HRB 5304 Kempten

------------------------------------------------------------------------------

_______________________________________________
Ikvm-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ikvm-developers
image001.png (image/png, 46.7 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.