Benchmarking Smalltalk on JVM

Charles Oliver Nutter headius at headius.com
Wed Feb 1 12:33:39 PST 2012


On Tue, Jan 31, 2012 at 6:52 PM, Mark Roos <mroos at roos.com> wrote:
> For the initial JDK7 I get 400ms,  moving to jdk8 b20 it drops to 117ms (
> very nice).
> I then converted some constructor lookups to statics to get to 66ms.
> Then the obvious move to make an integer cache for which I used the jTalk
> range of -2000 to 4000 gave 30ms
> And finally ( to handle the index integer) I created a MutableInteger which
> dropped me to 5ms.

Can you explain MutableInteger a bit more?

- Charlie


More information about the mlvm-dev mailing list