Struct/value types + stack allocations

Krystal Mok rednaxelafx at gmail.com
Tue Jan 17 19:41:29 PST 2012


Hi Vitaly,

You could try mlvm-dev [1], too. There are a lot of experiments going on
over there.

There's a proposal on tuples and value-oriented types [2]. There's even an
experimental implemention for it, developed by Michael Barker. You can
follow its progress on mlvm-dev list [3].

- Kris

[1]: http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
[2]:  http://openjdk.java.net/projects/mlvm/subprojects.html#TupleSignatures

[3]:  http://mail.openjdk.java.net/pipermail/mlvm-dev/2011-July/003570.html

On Wed, Jan 18, 2012 at 8:09 AM, Vitaly Davidovich <vitalyd at gmail.com>wrote:

> Hi,
>
> I asked this question on hotspot-compiler dev mailing list (it was tied in
> with an escape analysis question) but Vladimir Kozlov suggested I try this
> group instead.  Copy/paste of my question:
>
> Also, are there any plans to support struct/value-type like (ala CLR's
> struct) constructs in the JVM (presumably java can then target it)? This
> would allow developer to control where something gets allocated without
> relying on EA, and it would also reduce the amount of indirection in object
> graphs (and the mem/cpu performance hit of them) since struct members of a
> heap allocated object could be allocated "inline".
>
> Thanks
>
> Sent from my phone
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/attachments/20120118/173a7e7c/attachment.html 


More information about the hotspot-runtime-dev mailing list