diff c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/Compiler.java @ 1422:3483ec571caf

* using reflected objects instead of oops * removed scratch from allocatable registers * instanceof xir snippet * arraylength xir snippet * exceptionobject xir snippet * VMEntries and VMExits as interfaces * calls to VMEntries and VMExits are routet through logging proxies
author Lukas Stadler <lukas.stadler@oracle.com>
date Mon, 02 Aug 2010 15:44:38 -0700
parents 6223633ce7dd
children 760213a60e8b
line wrap: on
line diff
--- a/c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/Compiler.java	Fri Jul 23 15:53:02 2010 -0700
+++ b/c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/Compiler.java	Mon Aug 02 15:44:38 2010 -0700
@@ -47,8 +47,8 @@
         if (vmEntries == null) {
             System.out.println("getVMEntries");
             try {
-                //vmEntries = LoggingProxy.getProxy(VMEntries.class, new VMEntriesNative());
-                vmEntries = new VMEntriesNative();
+                vmEntries = LoggingProxy.getProxy(VMEntries.class, new VMEntriesNative());
+                //vmEntries = new VMEntriesNative();
             } catch (Throwable t) {
                 t.printStackTrace();
             }
@@ -62,8 +62,8 @@
         if (vmExits == null) {
             System.out.println("getVMExits");
             try {
-                //vmExits = LoggingProxy.getProxy(VMExits.class, new VMExitsNative());
-                vmExits = new VMExitsNative();
+                vmExits = LoggingProxy.getProxy(VMExits.class, new VMExitsNative());
+                //vmExits = new VMExitsNative();
             } catch (Throwable t) {
                 t.printStackTrace();
             }