Re: FTR: JSR 292 RFEs from yesterday's Indy Support Group
On Aug 4, 2016, at 9:11 AM, Mark Rooswrote: > > With respect to general data in constant pools > > Adding raw bytes as a constant type would be a good thing. I currently > have to encode my object serialization as hex utf8 which is not nice. +1 > As for the use of a MH to instantiate the constant. Would this be done > at load time or would it just insert a ConstantCallSite to instantiate at > run time ( lazy )? My two concerns would be that not everything is in > place at load time and the creation of lots of large constants which are > never used. The constant would be expanded when it is resolved, on first use. That's the usual semantics for constants (like CONSTANT_MethodHandle). So unused constants won't take up any space beyond their dormant symbolic references. — John ___ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
Re: FTR: JSR 292 RFEs from yesterday's Indy Support Group
With respect to general data in constant pools Adding raw bytes as a constant type would be a good thing. I currently have to encode my object serialization as hex utf8 which is not nice. As for the use of a MH to instantiate the constant. Would this be done at load time or would it just insert a ConstantCallSite to instantiate at run time ( lazy )? My two concerns would be that not everything is in place at load time and the creation of lots of large constants which are never used. mark ___ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
FTR: JSR 292 RFEs from yesterday's Indy Support Group
some frameworks need access delegation via MethodHandles.lookup https://bugs.openjdk.java.net/browse/JDK-8162494 some frameworks want to advise method handle optimization https://bugs.openjdk.java.net/browse/JDK-8163006 CallSites should support polymorphic inline caches https://bugs.openjdk.java.net/browse/JDK-8163007 (THIS IS A PLACEHOLDER) MethodHandles should have synchronization combinator https://bugs.openjdk.java.net/browse/JDK-8163004 ___ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev