Mercurial > hg > truffle
comparison agent/src/share/classes/sun/jvm/hotspot/oops/ExceptionTableElement.java @ 6725:da91efe96a93
6964458: Reimplement class meta-data storage to use native memory
Summary: Remove PermGen, allocate meta-data in metaspace linked to class loaders, rewrite GC walking, rewrite and rename metadata to be C++ classes
Reviewed-by: jmasa, stefank, never, coleenp, kvn, brutisso, mgerdin, dholmes, jrose, twisti, roland
Contributed-by: jmasa <jon.masamitsu@oracle.com>, stefank <stefan.karlsson@oracle.com>, mgerdin <mikael.gerdin@oracle.com>, never <tom.rodriguez@oracle.com>
author | coleenp |
---|---|
date | Sat, 01 Sep 2012 13:25:18 -0400 |
parents | 8150fa46d2ed |
children |
comparison
equal
deleted
inserted
replaced
6724:36d1d483d5d6 | 6725:da91efe96a93 |
---|---|
52 private static long offsetOfStartPC; | 52 private static long offsetOfStartPC; |
53 private static long offsetOfEndPC; | 53 private static long offsetOfEndPC; |
54 private static long offsetOfHandlerPC; | 54 private static long offsetOfHandlerPC; |
55 private static long offsetOfCatchTypeIndex; | 55 private static long offsetOfCatchTypeIndex; |
56 | 56 |
57 private OopHandle handle; | 57 private Address handle; |
58 private long offset; | 58 private long offset; |
59 | 59 |
60 public ExceptionTableElement(OopHandle handle, long offset) { | 60 public ExceptionTableElement(Address handle, long offset) { |
61 this.handle = handle; | 61 this.handle = handle; |
62 this.offset = offset; | 62 this.offset = offset; |
63 } | 63 } |
64 | 64 |
65 public int getStartPC() { | 65 public int getStartPC() { |
76 | 76 |
77 public int getCatchTypeIndex() { | 77 public int getCatchTypeIndex() { |
78 return (int) handle.getCIntegerAt(offset + offsetOfCatchTypeIndex, 2, true); | 78 return (int) handle.getCIntegerAt(offset + offsetOfCatchTypeIndex, 2, true); |
79 } | 79 } |
80 } | 80 } |
81 |