On Fri, May 03, 2013 at 11:16:40AM -0400, Will Coleda wrote: > Same error here, with: > > % java -version > java version "1.7.0_10" > Java(TM) SE Runtime Environment (build 1.7.0_10-b18) > Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode) > % sw_vers > ProductName: Mac OS X > ProductVersion: 10.8.3 > BuildVersion: 12D78
That's useful to know. Different JVM, different OS, same error. So I tried something. I rebased the chain of commits on the left side of the merge onto the single commit on the right, to get this: 6fa3859 let github render the readme prettily 2369612 Convert NQPRegex.ACCEPTS to be multimethods based on concrete-ness. e4408c6 Update parrot bootstrap with ?-quantifier changes. 0636341 P6regex: Switch ?-quantifier to be an item quantifier instead of a list 87a14e4 Fix bigint_is_prime via intermediate int result (RT #117731) 8374936 Fix a version check thinko. 8fe5340 Fix up incomplete quantified captures commit 54a9a07. 8250510 Start adding tests for quantified captures. 0a657da "Temporarily" convert ?-quantified captures to use **0..1 instead. 348b0b0 Fix handler case of invocation spec. 67a35b7 Invocation protocol serialization. 43c8404 Add NQP op for checking if a capture has nameds. 8a88525 Fix a couple of op signatures. 2ebdd93 Add nqp::settypecheckmode for JVM. a6b5d58 Implement setdispatcher/takedispatcher on JVM. 7970a56 Move dispatcher set/take op into NQP itself. 7a303f7 Make atkey and atpos on type objects give null. ec11659 Remove more dead code. 8db8c3a Update and simplify for loop code-gen. d334bf6 Remove now-unused code. 84627ea Send $foo."$bar"() calls through indy also. 5a7081c Send indirect calls through invokedynamic. 59a1668 Reduce cost of immediate block invocation. 52292fa Eliminate two instructions per QAST::WVal. fc7f156 Improve method invocation by using guard clauses. 55132d8 Basic invokedynamic handling for methods. 321aa28 Scatter some stack spilling operations. 912c8e8 Fix some stack management issues. c19eb96 Make return code-gen something more optimizable. e7c60fe Fix invokedynamic handling of lexotic. 2c344f3 Eliminate arg array assembly in sub call code. 5cf0134 Added remaining bigint nqp ops. The HEAD of that lot fails the same way. So I bisected it with: #!/bin/sh git clean -dxf perl ConfigureJVM.pl && make ret=$? [ $ret -gt 127 ] && ret=127 git clean -dxf exit $ret Git bisect say this: a6b5d58503c5b08c65822bb355b9f9b8697c2e6c is the first bad commit commit a6b5d58503c5b08c65822bb355b9f9b8697c2e6c Author: jnthn <jn...@jnthn.net> Date: Sat Apr 27 18:12:26 2013 +0200 Implement setdispatcher/takedispatcher on JVM. :040000 040000 3d4f6eeae5f6c75363d08b0acbaf458f2bf060a6 ef92a945394e5c7bd8149634dcb4ce778b1222f7 M src bisect run success I tried it, and indeed it is. This (rebased) commit fails: commit a6b5d58503c5b08c65822bb355b9f9b8697c2e6c Author: jnthn <jn...@jnthn.net> Date: Sat Apr 27 18:12:26 2013 +0200 Implement setdispatcher/takedispatcher on JVM. src/vm/jvm/QAST/Compiler.nqp | 35 ++++++++++++++++++++ src/vm/jvm/runtime/org/perl6/nqp/runtime/Ops.java | 4 ++ .../org/perl6/nqp/runtime/ThreadContext.java | 6 +++ 3 files changed, 45 insertions(+), 0 deletions(-) ... Java.lang.RuntimeException: java.lang.RuntimeException: Method code too large! in <anon> in compile in eval in evalfiles in command_eval in command_line in MAIN in <anon> in <anon>make: *** [src/stage1/QAST.class] Error 1 Its (rebased) parent builds and fails the usual 5 tests: commit 7970a5609b122878917a6a135c424ed786ea2258 Author: jnthn <jn...@jnthn.net> Date: Sat Apr 27 16:35:09 2013 +0200 Move dispatcher set/take op into NQP itself. This will let us do better code-gen with it on the JVM and also ease keeping it per thread. src/vm/parrot/QAST/Operations.nqp | 2 ++ src/vm/parrot/ops/nqp.ops | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 0 deletions(-) I don't know if that's useful, but I hope that it is. Nicholas Clark