On Jun 21, 2011, at 3:28 AM, John Rose wrote:
On Jun 20, 2011, at 12:17 PM, Tom Rodriguez wrote:
On Jun 18, 2011, at 5:15 AM, Rémi Forax wrote:
On 06/18/2011 03:15 AM, Tom Rodriguez wrote:
On Jun 17, 2011, at 5:00 PM, John Rose wrote:
On Jun 17, 2011, at 10:21 AM, Tom Rodriguez wrote:
On 06/21/2011 12:27 AM, John Rose wrote:
On Jun 20, 2011, at 1:11 PM, Mark Roos wrote:
So we do not have a path that can be assumed to be not taken (except the
last in the chain).
Perhaps in the JVM this is a poor choice for implementation of a small
polymorphic inline cache. Here I
On 06/21/2011 05:43 AM, Mark Roos wrote:
John Rose stated
See section 5, Case Study: Inline Caches and invokedynamic.
Thanks John, I have read that several times and it is very helpful
A small (non-megamorphic) polymorphic cache can be represented
as a cascade or decision
On 06/21/2011 09:50 AM, Mark Roos wrote:
Thanks for the example Rémi
Out of curiosity why is the fallback method synchronized? Something
to do with SwitchPoints?
No, SwitchPoint primary use case is metaclass modification/alteration.
The problem is that several threads may want to update the
On 06/21/2011 09:36 AM, John Rose wrote:
On Jun 21, 2011, at 12:31 AM, Rémi Forax wrote:
Sorry Mark and Tom, I should have been more clear.
The idea is to artificially put a never seen flag in front of the
*last* fallback
in the GWT chain.
Yes. One way to do this is with a VM-internal
inline cache. Here I defer to the real experts
regards
mark
From:
Tom Rodriguez tom.rodrig...@oracle.com
To:
Da Vinci Machine Project mlvm-dev@openjdk.java.net
Date:
06/20/2011 12:18 PM
Subject:
Re: Inlining heuristic trouble
Sent by:
mlvm-dev-boun...@openjdk.java.net
On Jun 18, 2011
On Mon, Jun 20, 2011 at 3:11 PM, Mark Roos mr...@roos.com wrote:
So the basic operation is
test if the class coming in is one we have seen before
if yes then jump to the method
if not then do a lookup and compile of the new method (
this is the slow
John Rose stated
See section 5, Case Study: Inline Caches and invokedynamic.
Thanks John, I have read that several times and it is very helpful
A small (non-megamorphic) polymorphic cache can be represented as
a cascade or decision tree of GWT combinators,
On 06/18/2011 03:15 AM, Tom Rodriguez wrote:
On Jun 17, 2011, at 5:00 PM, John Rose wrote:
On Jun 17, 2011, at 10:21 AM, Tom Rodriguez wrote:
Sorry, I was thinking recording which branch of the GWT is taken and
storing them in the GWT.
Two GWTs should not share the same metadata.
This is
On Jun 15, 2011, at 5:26 PM, Rémi Forax wrote:
// with the optimization
[forax@localhost binary-operation]$ time java -cp .:classes PerfOpt
real0m0.954s
user0m1.030s
sys0m0.087s
// without
[forax@localhost binary-operation]$ time java -cp .:classes Perf
real0m0.378s
user
On 06/17/2011 11:14 AM, Rémi Forax wrote:
On 06/17/2011 10:58 AM, Christian Thalinger wrote:
On Jun 15, 2011, at 5:26 PM, Rémi Forax wrote:
// with the optimization
[forax@localhost binary-operation]$ time java -cp .:classes PerfOpt
real0m0.954s
user0m1.030s
sys0m0.087s
//
On Jun 17, 2011, at 10:21 AM, Tom Rodriguez wrote:
Sorry, I was thinking recording which branch of the GWT is taken and
storing them in the GWT.
Two GWTs should not share the same metadata.
This is the major problem with GWT/selectAlternative. Previously when GWT
was bytecodes we at
On Jun 17, 2011, at 5:00 PM, John Rose wrote:
On Jun 17, 2011, at 10:21 AM, Tom Rodriguez wrote:
Sorry, I was thinking recording which branch of the GWT is taken and
storing them in the GWT.
Two GWTs should not share the same metadata.
This is the major problem with
I've just finished to code a sample for the cookbook that does
integer operation (+ and -) with overflow (to BigInteger).
https://code.google.com/p/jsr292-cookbook/source/browse/#svn%2Ftrunk%2Fbinary-operation%2Fsrc%2Fjsr292%2Fcookbook%2Fbinop
For a code like this one:
max = ...
for(i=0; imax; i
On Jun 15, 2011, at 5:26 PM, Rémi Forax wrote:
I've just finished to code a sample for the cookbook that does
integer operation (+ and -) with overflow (to BigInteger).
https://code.google.com/p/jsr292-cookbook/source/browse/#svn%2Ftrunk%2Fbinary-operation%2Fsrc%2Fjsr292%2Fcookbook%2Fbinop
On Jun 15, 2011, at 5:48 PM, Christian Thalinger wrote:
On Jun 15, 2011, at 5:26 PM, Rémi Forax wrote:
I've just finished to code a sample for the cookbook that does
integer operation (+ and -) with overflow (to BigInteger).
16 matches
Mail list logo