Output of run.js under Nashorn 9b67
9b67 | |
Result of | |
$JAVA_HOME/bin/jjs -co --dump-debug-dir=. run.js | |
chris@debian:~/jitwatch/sandbox/sources/jdk/nashorn/internal/scripts$ ls -l | |
total 4 | |
-rw-r--r-- 1 chris chris 700 Jun 9 22:07 Script$run.class | |
chris@debian:~/jitwatch/sandbox/sources/jdk/nashorn/internal/scripts$ $JAVA_HOME/bin/javap -v * | |
Classfile /home/chris/jitwatch/sandbox/sources/jdk/nashorn/internal/scripts/Script$run.class | |
Last modified 09-Jun-2015; size 700 bytes | |
MD5 checksum bb5a16c6dadbfcfdab33e200937c5d1e | |
Compiled from "run.js" | |
public class jdk.nashorn.internal.scripts.Script$run extends jdk.nashorn.internal.scripts.JS | |
minor version: 0 | |
major version: 51 | |
flags: ACC_PUBLIC, ACC_SUPER | |
Constant pool: | |
#1 = Utf8 jdk/nashorn/internal/scripts/Script$run | |
#2 = Class #1 // jdk/nashorn/internal/scripts/Script$run | |
#3 = Utf8 jdk/nashorn/internal/scripts/JS | |
#4 = Class #3 // jdk/nashorn/internal/scripts/JS | |
#5 = Utf8 run.js | |
#6 = Utf8 source | |
#7 = Utf8 Ljdk/nashorn/internal/runtime/Source; | |
#8 = Utf8 constants | |
#9 = Utf8 [Ljava/lang/Object; | |
#10 = Utf8 strictMode | |
#11 = Utf8 Z | |
#12 = Integer 0 | |
#13 = Utf8 :createProgramFunction | |
#14 = Utf8 (Ljdk/nashorn/internal/runtime/ScriptObject;)Ljdk/nashorn/internal/runtime/ScriptFunction; | |
#15 = NameAndType #8:#9 // constants:[Ljava/lang/Object; | |
#16 = Fieldref #2.#15 // jdk/nashorn/internal/scripts/Script$run.constants:[Ljava/lang/Object; | |
#17 = Utf8 jdk/nashorn/internal/objects/ScriptFunctionImpl | |
#18 = Class #17 // jdk/nashorn/internal/objects/ScriptFunctionImpl | |
#19 = Utf8 create | |
#20 = Utf8 ([Ljava/lang/Object;ILjdk/nashorn/internal/runtime/ScriptObject;)Ljdk/nashorn/internal/runtime/ScriptFunction; | |
#21 = NameAndType #19:#20 // create:([Ljava/lang/Object;ILjdk/nashorn/internal/runtime/ScriptObject;)Ljdk/nashorn/internal/runtime/ScriptFunction; | |
#22 = Methodref #18.#21 // jdk/nashorn/internal/objects/ScriptFunctionImpl.create:([Ljava/lang/Object;ILjdk/nashorn/internal/runtime/ScriptObject;)Ljdk/nashorn/internal/runtime/ScriptFunction; | |
#23 = Utf8 <init> | |
#24 = Utf8 ()V | |
#25 = NameAndType #23:#24 // "<init>":()V | |
#26 = Methodref #4.#25 // jdk/nashorn/internal/scripts/JS."<init>":()V | |
#27 = Utf8 ConstantValue | |
#28 = Utf8 Code | |
#29 = Utf8 SourceFile | |
{ | |
public static final boolean strictMode; | |
descriptor: Z | |
flags: ACC_PUBLIC, ACC_STATIC, ACC_FINAL | |
ConstantValue: int 0 | |
public static jdk.nashorn.internal.runtime.ScriptFunction :createProgramFunction(jdk.nashorn.internal.runtime.ScriptObject); | |
descriptor: (Ljdk/nashorn/internal/runtime/ScriptObject;)Ljdk/nashorn/internal/runtime/ScriptFunction; | |
flags: ACC_PUBLIC, ACC_STATIC | |
Code: | |
stack=3, locals=1, args_size=1 | |
0: getstatic #16 // Field constants:[Ljava/lang/Object; | |
3: iconst_0 | |
4: aload_0 | |
5: invokestatic #22 // Method jdk/nashorn/internal/objects/ScriptFunctionImpl.create:([Ljava/lang/Object;ILjdk/nashorn/internal/runtime/ScriptObject;)Ljdk/nashorn/internal/runtime/ScriptFunction; | |
8: areturn | |
} | |
SourceFile: "run.js" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment