Re: What can we improve in JSR292 for Java 9?

2015-02-25 Thread John Rose
On Feb 25, 2015, at 5:09 PM, Mark Roos wrote: > > I would like to see some form of PIC (polymorphic inline cache ) support that > jits (inlines) well and transitions from mono to bi to multi(4,5) to mega > nicely. What would be the starting points for such a thing? It seems to be like Charl

Re: What can we improve in JSR292 for Java 9?

2015-02-25 Thread John Rose
On Feb 25, 2015, at 4:02 PM, Charles Oliver Nutter wrote: > > After talking with folks at the Jfokus VM Summit, it seems like > there's a number of nice-to-have and a few need-to-have features we'd > like to see get into java.lang.invoke. Vladimir suggested I start a > thread on these features. >

Re: What can we improve in JSR292 for Java 9?

2015-02-25 Thread Mark Roos
I would like to see some form of PIC (polymorphic inline cache ) support that jits (inlines) well and transitions from mono to bi to multi(4,5) to mega nicely. The main thought would be to inline two or three with some way to reopt as the types/counters change. Of course my types are not java

What can we improve in JSR292 for Java 9?

2015-02-25 Thread Charles Oliver Nutter
After talking with folks at the Jfokus VM Summit, it seems like there's a number of nice-to-have and a few need-to-have features we'd like to see get into java.lang.invoke. Vladimir suggested I start a thread on these features. A few from me: * A loop handle :-) Given a body and a test, run the

Lost perf between 8u40 and 9 hs-comp

2015-02-25 Thread Charles Oliver Nutter
I'm finally at home with a working machine so I can follow up on some VM Summit to-dos. Vladimir wanted me to test out jdk9 hs-comp, which has all his latest work on method handles. I wish I could report that performance looks great, but it doesn't. Here's timing (in s) of our red/black benchmark