Struct/value types + stack allocations
rednaxelafx at gmail.com
Tue Jan 17 19:41:29 PST 2012
You could try mlvm-dev , too. There are a lot of experiments going on
There's a proposal on tuples and value-oriented types . There's even an
experimental implemention for it, developed by Michael Barker. You can
follow its progress on mlvm-dev list .
On Wed, Jan 18, 2012 at 8:09 AM, Vitaly Davidovich <vitalyd at gmail.com>wrote:
> 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".
> Sent from my phone
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-runtime-dev