Struct/value types + stack allocations
Kirk Pepperdine
kirk at kodewerk.com
Wed Jan 18 22:07:49 PST 2012
Hi all,
What would this look like in the language or are we only talking about changes in the JVM?
Regards,
Kirk
On 2012-01-19, at 1:39 AM, Vitaly Davidovich wrote:
> 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/20120119/658959a0/attachment.html
More information about the hotspot-runtime-dev
mailing list