Re: What's the status of / relation between "JEP 169: Value Objects" / "Value Types for Java" / "Object Layout"

2015-04-15 Thread Gil Tene
A couple of point here, specific to org.ObjectLayout (http://objectlayout.org): Declaration: The ObjectLayout @Intrinsic (http://objectlayout.org) annotation is used for declaring what you refer to as "inline" objects. It is specifically not intended to be a layout control directive, but an opti

Re: What's the status of / relation between "JEP 169: Value Objects" / "Value Types for Java" / "Object Layout"

2015-04-15 Thread Gil Tene
he expected semantics (using a StructuredArray to state optimization-enabling limiting semantics, for example), adding explicit intent declaration (as opposed to auto-optimization) for intrinsic objects seems natural there. On Tue, Feb 3, 2015 at 11:58 AM, Gil Tene mailto:g...@azulsystems.com&

Re: What's the status of / relation between "JEP 169: Value Objects" / "Value Types for Java" / "Object Layout"

2015-04-15 Thread Gil Tene
t's incompatible with the semantics of all current object-instntiating code, making auto-magical optimization that coverts current instantiations to placement-new a "very hard" thing. Unfortunately, both #1 and #2 would need to be addressed for an optimization to apply, so it's eno