hg: mlvm/mlvm/hotspot: meth-conv: correct oops_do

2011-04-26 Thread john . r . rose
Changeset: 762a9f1e693f Author:jrose Date: 2011-04-21 01:57 -0700 URL: http://hg.openjdk.java.net/mlvm/mlvm/hotspot/rev/762a9f1e693f meth-conv: correct oops_do ! meth-conv-6939861.patch ___ mlvm-dev mailing list mlvm-dev@openjdk.java.net

Re: Test cases related to JSR 292

2011-04-26 Thread fo...@x9c.fr
Le 22 avr. 2011 à 19:29, John Rose a écrit : > On Apr 22, 2011, at 7:42 AM, Rémi Forax wrote: >>> >>> My first move would be to regard this attribute as reserved to a "Code" >>> attribute, >>> but it seems that data sharing would be increased by putting it a the class >>> level. >> >> The Boo

Re: 292 Rocks, Core Smalltalk running thanks to all

2011-04-26 Thread Christian Thalinger
On Apr 12, 2011, at 2:56 PM, Ola Bini wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > >> Since there are not many projects out there that already use JSR 292 >> (JRuby and phpreboot are the only real users that I know of, but maybe I >> missed something), the code path coverage is low a

Re: 292 Rocks, Core Smalltalk running thanks to all

2011-04-26 Thread Mark Roos
Ok, I'll pull together a self contained app to try mark From: Christian Thalinger To: Da Vinci Machine Project Date: 04/12/2011 12:54 AM Subject: Re: 292 Rocks, Core Smalltalk running thanks to all Sent by: mlvm-dev-boun...@openjdk.java.net On Apr 11, 2011, at 8:01 PM, Mark Roos wrote: H

Re: Review Request: Zero JSR 292 support

2011-04-26 Thread Christian Thalinger
On Apr 5, 2011, at 2:49 PM, Christian Thalinger wrote: >>> Does this code pass the jtreg tests in jdk/test/java/lang/invoke/ ? >> >> It passed their previous incarnation in jdk/test/java/dyn, with >> this webrev applied to stop the tests disabling themselves: >> >> http://cr.openjdk.java.net/~gbe

Re: field type is not final in MethodHandle

2011-04-26 Thread John Rose
On Apr 7, 2011, at 12:11 PM, Rémi Forax wrote: > Hi gang, hi John, > I've just found that MethodHandle.type is not declared final. Hi Remi. Since there will be no way for users to specify their own subclasses or access implementation subclasses, I don't think this matters. We are leaving "fin

hg: mlvm/mlvm/hotspot: 4 new changesets

2011-04-26 Thread john . r . rose
Changeset: 119e23ae6565 Author:jrose Date: 2011-04-07 16:25 -0700 URL: http://hg.openjdk.java.net/mlvm/mlvm/hotspot/rev/119e23ae6565 remove stray whitespace ! indy-notrans-6981791.patch ! meth-impl-6839872.patch Changeset: b3dd77786318 Author:jrose Date: 2011-04-07 20:54

coro patch not applying cleanly

2011-04-26 Thread Stephen Bannasch
The coro patch is not applying cleanly anymore: applying coro.patch patching file src/share/vm/interpreter/interpreterRuntime.cpp Hunk #1 FAILED at 893 1 out of 1 hunks FAILED -- saving rejects to file src/share/vm/interpreter/interpreterRuntime.cpp.rej patching file src/share/vm/prims/nativeLook

Re: new Mac OS X mlvm build: 2011_04_04

2011-04-26 Thread Rémi Forax
On 04/05/2011 09:41 PM, Ola Bini wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 2011-04-05 09.07, Rémi Forax wrote: >> Basically in constant() bindTo(x) should be replaced by >> insertArguments(0, x) >> Because bindTo requires that the first argument is an object. >> Here it's a bo

Re: Review Request: Zero JSR 292 support

2011-04-26 Thread Christian Thalinger
On Apr 1, 2011, at 4:33 PM, Gary Benson wrote: > Hi all, > > This webrev adds support for JSR 292 to Zero: > > http://cr.openjdk.java.net/~gbenson/zero-jsr292-01/ hotspot/src/cpu/zero/vm/cppInterpreter_zero.cpp: +// NB the x86 code for this (in methodHandles_x86.cpp, search for +// "ge

Request for test change

2011-04-26 Thread Gary Benson
Hi all, The tests in jdk/test/java/dyn have a checkImplementedPlatform() method which disables the tests on platforms other than x86 and Sparc. This webrev adds the zero-assembler port to the list of supported platforms: http://cr.openjdk.java.net/~gbenson/zero-jsr292-tests/ Would it be possi

Re: Test cases related to JSR 292

2011-04-26 Thread fo...@x9c.fr
Le 22 avr. 2011 à 16:42, Rémi Forax a écrit : > >>> This is a possibility, hoping that the entry ticket to the ASM API is not >>> to high. >>> >>> While developing the code to read/write a JDK7 class file, I noticed what I >>> think >>> is a typo on the >>> "http://download.java.net/jdk7/doc

Re: change invokeGeneric to invoke in MethodHandle?

2011-04-26 Thread Charles Oliver Nutter
I assume this means invokeGeneric is firmly established in the specification. I would agree with "invoke" as well. On Sun, Mar 27, 2011 at 1:27 AM, Jeroen Frijters wrote: > +1 invoke makes sense. > >> -Original Message- >> From: mlvm-dev-boun...@openjdk.java.net [mailto:mlvm-dev- >> boun.

Re: review request (L): 7012648/JDK: move JSR 292 to package java.lang.invoke and adjust names

2011-04-26 Thread Charles Oliver Nutter
Yay! On Wed, Mar 23, 2011 at 4:10 AM, John Rose wrote: > http://cr.openjdk.java.net/~jrose/7012648/webrev.jdk.00/ > > Summary: JDK code for package and class renaming from java.dyn to > java.lang.invoke. > > Includes certain other small changes: >  - move remaining (miscellaneous) contents of su

hg: mlvm/mlvm/hotspot: meth-conv: get buildable (2)

2011-04-26 Thread john . r . rose
Changeset: f2f43ed15b84 Author:jrose Date: 2011-03-22 17:32 -0700 URL: http://hg.openjdk.java.net/mlvm/mlvm/hotspot/rev/f2f43ed15b84 meth-conv: get buildable (2) ! meth-conv-6939861.patch ___ mlvm-dev mailing list mlvm-dev@openjdk.java.n

Re: fatal error running MethodHandlesTest

2011-04-26 Thread Stephen Bannasch
At 4:12 PM -0700 4/18/11, John Rose wrote: >I'm cutting some new code (RicochetFrame logic). Thanks Stephen for the >frequent updates! As you might see from the mercurial log, I fixed several x64 >regressions in the new code, but it looks like there is at least one more. >What happens with the

Re: fatal error running MethodHandlesTest

2011-04-26 Thread Rémi Forax
On 04/19/2011 01:12 AM, John Rose wrote: > I'm cutting some new code (RicochetFrame logic). Yai ! > Thanks Stephen for the frequent updates! As you might see from the > mercurial log, I fixed several x64 regressions in the new code, but it looks > like there is at least one more. What happe

build now succeeds, 5 of 6 java/lang/invoke tests fail

2011-04-26 Thread Stephen Bannasch
Compilation succeeds but I am getting failures running five of the six java/lang/invoke tests: Passed: java/lang/invoke/ClassValueTest.java FAILED: java/lang/invoke/InvokeDynamicPrintArgs.java FAILED: java/lang/invoke/InvokeGenericTest.java FAILED: java/lang/invoke/JavaDocExam

hg: mlvm/mlvm/jdk: meth-conv: get buildable (2)

2011-04-26 Thread john . r . rose
Changeset: 267f82ed2196 Author:jrose Date: 2011-03-22 18:09 -0700 URL: http://hg.openjdk.java.net/mlvm/mlvm/jdk/rev/267f82ed2196 meth-conv: get buildable (2) ! meth-conv-6939861.patch ___ mlvm-dev mailing list mlvm-dev@openjdk.java.net h

hg: mlvm/mlvm/jdk: rebase to jdk7-b132 in bsd-port

2011-04-26 Thread john . r . rose
Changeset: 13266ff20174 Author:jrose Date: 2011-03-19 23:11 -0700 URL: http://hg.openjdk.java.net/mlvm/mlvm/jdk/rev/13266ff20174 rebase to jdk7-b132 in bsd-port + bsd.patch ! meth-doc-7014005.patch - meth-impl-6839872.1-rename.patch - meth-impl-6839872.2-super.patch - meth-impl-683

hg: mlvm/mlvm/jdk: meth: more on 7016250

2011-04-26 Thread john . r . rose
Changeset: 94ad41f72ec2 Author:jrose Date: 2011-04-23 01:24 -0700 URL: http://hg.openjdk.java.net/mlvm/mlvm/jdk/rev/94ad41f72ec2 meth: more on 7016250 ! meth-conv-6939861.patch ! meth-ret-7016250.patch ! meth-review-7032323.patch ___ mlv

Re: Test cases related to JSR 292

2011-04-26 Thread John Rose
On Apr 22, 2011, at 7:42 AM, Rémi Forax wrote: >> >> My first move would be to regard this attribute as reserved to a "Code" >> attribute, >> but it seems that data sharing would be increased by putting it a the class >> level. > > The BootstrapMethods attribute is a class attribute. > And you'

Re: DSL for handle binding

2011-04-26 Thread Ola Bini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2011-03-21 20.45, Charles Oliver Nutter wrote: > On Mon, Mar 21, 2011 at 8:40 PM, John Rose wrote: >> Yes, that occurred to me to, at least in this form (which is not very >> statically checkable): >> >> Binder >> .from(String.class, "a", Intege

Re: question regarding call sites and garbage collection

2011-04-26 Thread Rémi Forax
On 03/16/2011 11:36 AM, Jochen Theodorou wrote: > Am 15.03.2011 23:41, schrieb Rémi Forax: > [...] >>> If the callsite is inlined, won't >>> that mean that then we have those types hard referenced as well and that >>> I cannot do anything against that? >> A callsite can be inlined more than once. >

Re: latest mlvm failing four java/lang/invoke tests

2011-04-26 Thread John Rose
This could be a bug with compressed pointers in MH assembly code. I wonder if -XX:-UseCompressedOops also fails. -- John On Apr 10, 2011, at 9:54 AM, Stephen Bannasch wrote: > These java/lang/invoke tests are failing on my MLVM build today: > > InvokeDynamicPrintArgs.java > InvokeGenericT

Re: Review Request: Zero JSR 292 support

2011-04-26 Thread Christian Thalinger
On Apr 5, 2011, at 3:46 PM, Gary Benson wrote: > Christian Thalinger wrote: >> On Apr 4, 2011, at 10:34 AM, Gary Benson wrote: >>> John Rose wrote: On Apr 1, 2011, at 7:33 AM, Gary Benson wrote: > This webrev adds support for JSR 292 to Zero: > > http://cr.openjdk.java.net/~gbenso

Review Request: Zero JSR 292 support

2011-04-26 Thread Gary Benson
Hi all, This webrev adds support for JSR 292 to Zero: http://cr.openjdk.java.net/~gbenson/zero-jsr292-01/ Note that is is designed to apply after the fix for 7032458, which is currently under review and can be found here: http://cr.openjdk.java.net/~gbenson/zero-shark-fixes-04-2/ I don't h

Re: JRuby can't compile benchmark. Also package renaming

2011-04-26 Thread Kirill Shirokov
On 04/06/2011 07:17 PM, Charles Oliver Nutter wrote: > 1. You can pass -d to JRuby to get the debug output from the failure, > or -Xjit.logging.verbose=true. I can take a look at this as soon as I > can update to java.lang.invoke. The compilation error is most probably caused by package rename: w

Re: Target build for MLVM class path changes?

2011-04-26 Thread Stephen Bannasch
At 11:47 AM -0800 3/1/11, Mark Roos wrote: >Not critical but I would like to plan my tasks around it. > >I am using the late Feb build by Stephen and it is not compatible with b131 >(exception changes ) > >BTW its working great I've built a new version today but all the java/lang/invoke tests ar

Assembly output from JRuby 'fib'

2011-04-26 Thread Charles Oliver Nutter
I prepared this for someone else, but I thought folks here might be interested in it too. This gist contains hotspot x86 (32-bit) assembly output for JRuby's dynopt mode and invokedynamic (on a couple-week-old OS X OpenJDK build). I haven't spent a lot of time investigating. https://gist.github.c