Struct/value types + stack allocations

Vitaly Davidovich vitalyd at gmail.com
Wed Jan 18 16:39:48 PST 2012


I also see my phone auto-corrected as heal instead of heel ... :)

To John, albeit selfishly :), I'd love to see structs prioritized over
fixnums and maybe some of the other things (reification would be great too
and would go a long way in reducing bloat due to boxed numerics).  Is there
something akin to public voting on prioritization of features that Oracle
agrees to dedicate resources to? Maybe I'm overestimating demand, but I
think structs would get a lot of backing.

Thanks

Sent from my phone
On Jan 18, 2012 5:01 PM, "Ismael Juma" <mlists at juma.me.uk> wrote:

> Hi all,
>
> Vitaly Davidovich <vitalyd at ...> writes:
> > The reason I ask is because I think the achilles heal of java performance
> > is the memory consumption (this is something you often hear in
> discussions
> > about java performance).
>
> Agreed. I've seen and written tons of code to workaround the fact that
> there are
> no structs in the language. Examples of popular open-source projects that
> use
> parallel arrays (with much worse cache locality) to avoid objects and their
> memory overhead are many (Lucene, Mahout, fastutil, Trove, JGit, etc.).
>
> Best,
> Ismael
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/attachments/20120118/42cf0edc/attachment.html 


More information about the hotspot-runtime-dev mailing list