Mercurial > hg > graal-compiler
comparison 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 |
comparison
equal
deleted
inserted
replaced
1421:6223633ce7dd | 1422:3483ec571caf |
---|---|
45 | 45 |
46 public static VMEntries getVMEntries() { | 46 public static VMEntries getVMEntries() { |
47 if (vmEntries == null) { | 47 if (vmEntries == null) { |
48 System.out.println("getVMEntries"); | 48 System.out.println("getVMEntries"); |
49 try { | 49 try { |
50 //vmEntries = LoggingProxy.getProxy(VMEntries.class, new VMEntriesNative()); | 50 vmEntries = LoggingProxy.getProxy(VMEntries.class, new VMEntriesNative()); |
51 vmEntries = new VMEntriesNative(); | 51 //vmEntries = new VMEntriesNative(); |
52 } catch (Throwable t) { | 52 } catch (Throwable t) { |
53 t.printStackTrace(); | 53 t.printStackTrace(); |
54 } | 54 } |
55 } | 55 } |
56 return vmEntries; | 56 return vmEntries; |
60 | 60 |
61 public static VMExits getVMExits() { | 61 public static VMExits getVMExits() { |
62 if (vmExits == null) { | 62 if (vmExits == null) { |
63 System.out.println("getVMExits"); | 63 System.out.println("getVMExits"); |
64 try { | 64 try { |
65 //vmExits = LoggingProxy.getProxy(VMExits.class, new VMExitsNative()); | 65 vmExits = LoggingProxy.getProxy(VMExits.class, new VMExitsNative()); |
66 vmExits = new VMExitsNative(); | 66 //vmExits = new VMExitsNative(); |
67 } catch (Throwable t) { | 67 } catch (Throwable t) { |
68 t.printStackTrace(); | 68 t.printStackTrace(); |
69 } | 69 } |
70 } | 70 } |
71 return vmExits; | 71 return vmExits; |