Struct/value types + stack allocations

Krystal Mok rednaxelafx at
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



On Wed, Jan 18, 2012 at 8:09 AM, Vitaly Davidovich <vitalyd at>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...

More information about the hotspot-runtime-dev mailing list