How high are he memory costs of polymorphic inline caches?
Mark Roos
mroos at roos.com
Thu Aug 21 02:16:42 UTC 2014
example about a simple Groovy program being able to run in about 40MB
memory, but needing quite a bit more with indy. Since I can observe the
memory drain with a small program already, and since I know that handles
are not that reusable yet...
I see about the same, about 2X larger in jvm than native Smalltalk. But
there
are differences. Rtalk is pure 64 bit including all integers, all
integers are
boxed ( native ST uses tagged pointers and is 31 bit) and all of the
compiled
code never dropped vs the native ST had a limited code cache ( 1M). If I
drop
the code then Hotspot does not do a good job jitting. But then I now have
multi gigs of available memory vs 200 Megs usable before.
And it is about 2X faster without the multicore advantage.
mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20140820/26b4888e/attachment.html>
More information about the mlvm-dev
mailing list