Re: Implementing VarHandle

2015-04-15 Thread Paul Sandoz
Hi Remi, I am always impressed by the ability of MHs, and your ability to use them :-) With the API you have defined in the VarHandle2 class located in j.l.invoke i strongly suspect you do not need to use method handles. The public methods could directly use casts/null-checks and Unsafe.

Re: [9] RFR (M): 8057967: CallSite dependency tracking scales devastatingly poorly

2015-04-15 Thread Vladimir Ivanov
Roland, thanks for looking into the fix! You are right. I moved VM_ENTRY_MARK to the beginning of the method [1]. Updated webrev in place. http://cr.openjdk.java.net/~vlivanov/8057967/webrev.01/ Best regards, Vladimir Ivanov [1] diff --git a/src/share/vm/ci/ciCallSite.cpp

Re: [9] RFR (M): 8057967: CallSite dependency tracking scales devastatingly poorly

2015-04-15 Thread Roland Westrelin
Hi Vladimir, http://cr.openjdk.java.net/~vlivanov/8057967/webrev.01/hotspot/ In ciCallSite::get_context(), is it safe to manipulate a raw oop the way you do it (with 2 different oops). Can’t it be moved concurrently by the GC? Roland.

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

2015-04-15 Thread Gil Tene
On Feb 3, 2015, at 12:20 PM, Vitaly Davidovich vita...@gmail.com wrote: 1) My assumption is that vast majority of classes will benefit from inline storage of their collaborators. The waste would be in classes that have hot and cold members together, but I think that's the minority? But,

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

2015-04-15 Thread Gil Tene
On Feb 3, 2015, at 9:13 AM, Vitaly Davidovich vita...@gmail.commailto:vita...@gmail.com wrote: Gil, not sure if you saw my reply to Volker, but I agree -- I was simply asking why request this optimization via explicit syntax and not do it automatically in the runtime (with all the same

Call for Speakers -- 2015 JVM Language Summit

2015-04-15 Thread Dan Smith
CALL FOR SPEAKERS -- JVM LANGUAGE SUMMIT, AUGUST 2015 We are pleased to announce the 2015 JVM Language Summit to be held at Oracle's Santa Clara campus on August 10-12, 2015. Registration is now open for speaker submissions (presentations and workshops) and will remain open until May 22, 2015.

Re: [9] RFR (M): 8057967: CallSite dependency tracking scales devastatingly poorly

2015-04-15 Thread Roland Westrelin
http://cr.openjdk.java.net/~vlivanov/8057967/webrev.01/ That looks good to me. Roland. ___ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

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