hg: valhalla/valhalla/jdk: More formal separation of interpreter classpath vs underlying JVM classpath. For each interpreted class, create a proxy class that is loaded for its representation; methods on the proxy class make callbacks to the interpreter. Interpreter generates a stream of events for what it does; make tests consume these events and assert the right things are being interpreted vs executed natively.

brian.goetz at oracle.com brian.goetz at oracle.com
Mon Jun 6 21:14:04 UTC 2016


Changeset: b0f73e4de9d6
Author:    briangoetz
Date:      2016-06-06 17:13 -0400
URL:       http://hg.openjdk.java.net/valhalla/valhalla/jdk/rev/b0f73e4de9d6

More formal separation of interpreter classpath vs underlying JVM classpath.  For each interpreted class, create a proxy class that is loaded for its representation; methods on the proxy class make callbacks to the interpreter.  Interpreter generates a stream of events for what it does; make tests consume these events and assert the right things are being interpreted vs executed natively.

+ interpreter/src/valhalla/interpreter/ClassModel.java
! interpreter/src/valhalla/interpreter/Interpreter.java
+ interpreter/src/valhalla/interpreter/InterpreterEvent.java
+ interpreter/src/valhalla/interpreter/ProxyClassBuilder.java
+ interpreter/test-common/src/valhalla/interpreter/XRunnable.java
+ interpreter/test-common/test-common.iml
+ interpreter/test-helpers/test-helpers.iml
+ interpreter/test-helpers/test/valhalla/interpreter/ArrayListTestHelper.java
+ interpreter/test-helpers/test/valhalla/interpreter/InterpreterTestHelper1.java
+ interpreter/test-helpers/test/valhalla/interpreter/InterpreterTestHelper3.java
+ interpreter/test-helpers/test/valhalla/interpreter/InterpreterTestHelper4.java
+ interpreter/test-helpers/test/valhalla/interpreter/InterpreterTestHelper5.java
+ interpreter/test/valhalla/interpreter/InterpretBootclassTest.java
! interpreter/test/valhalla/interpreter/InterpreterTest.java
+ interpreter/test/valhalla/interpreter/ResolveTest.java



More information about the valhalla-dev mailing list