Beautiful Architecture
We then repeat the just-in-time compilation trick performed by the JVM, but do so at the JPC level. So for JPC we have a second- ...
EXAMPLE 9-2. Javac’s nonoptimal compiling public int function() public int function(); { 0: iconst_1 boolean a = true; 1: istore ...
Converting this graph representation of the interpreted basic blocks into Java bytecode is a simple depth-first traversal of the ...
EAXECX EAX EBX Duplicate Node Orphaned Section ADD ECX EBX ECX SUB ADD FIGURE 9-10. Directed acyclic graph features TIP #2: STAT ...
The code for the exception handler is then produced by traversing the chosen paths graph. The nodes shared in common with the ma ...
0 10,000 20,000 30,000 40,000 50,000 60,000 70,000 80,000 90,000 100,000 00:00:00 00:10:00 00:20:00 00:30:00 00:40:00 00:50:00 0 ...
} @Override protected Class findClass(String name) throws ClassNotFoundException { throw new ClassNotFoundException(name); } } T ...
Well, little that we can do without violating one of the absolute maxims and declaring a class in the java.lang package. So we n ...
public Class createClass(String name, byte[] b) { if (++classesCount == CLASSES_PER_LOADER) newClassLoader(); return defineClass ...
Example 9-5 shows how the code block decorator intercepts calls for execution and is then able to make a decision as to whether ...
Ultimate Flexibility Armed with all of this trickery, we now have a highly optimized emulation system that can be improved and e ...
Because of JPC’s hardware agnosticism, these stories apply equally well to non-x86 hardware, the ideal solution for thin clients ...
their personal disk image data. If the idle machine is suddenly needed for other purposes, the JPC instance can be “frozen” and ...
In this way, we get the speed of compiled classes even within the standard Java Applet Sandbox, and so users can be reassured th ...
0 50 100 150 200 250 300 350 400 450 500 550 2005-07 2006-01 2006-07 2007-01 2007-07 2008-01 2008-07 KLOC FIGURE 9-13. Accumulat ...
Code each stage to completion and system test the whole prototype, resisting the temptation to push too quickly beyond the stag ...
C H A P T E R T E N The Strength of Metacircular Virtual Machines: Jikes RVM Ian Rogers Dave Grove RUNNING CODE IN A MANAGED RUN ...
Background The issue of how to develop a new programming language is a staple of computer science that has formalisms such as th ...
in C or C++ may run Java applications. If the runtime were to have a bug relating to memory safety, it could crash the Java appl ...
in prototype runtime environments, most modern production virtual machines rely on some form of selective optimization. In selec ...
«
8
9
10
11
12
13
14
15
16
17
»
Free download pdf