Mercurial > hg > truffle
comparison src/share/vm/opto/machnode.cpp @ 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 | 8c92982cbbc4 |
children | 8e47bac5643a |
comparison
equal
deleted
inserted
replaced
6724:36d1d483d5d6 | 6725:da91efe96a93 |
---|---|
36 // input register lookup, corresponding to ext_format | 36 // input register lookup, corresponding to ext_format |
37 int MachOper::reg(PhaseRegAlloc *ra_, const Node *node, int idx) const { | 37 int MachOper::reg(PhaseRegAlloc *ra_, const Node *node, int idx) const { |
38 return (int)(ra_->get_encode(node->in(idx))); | 38 return (int)(ra_->get_encode(node->in(idx))); |
39 } | 39 } |
40 intptr_t MachOper::constant() const { return 0x00; } | 40 intptr_t MachOper::constant() const { return 0x00; } |
41 bool MachOper::constant_is_oop() const { return false; } | 41 relocInfo::relocType MachOper::constant_reloc() const { return relocInfo::none; } |
42 jdouble MachOper::constantD() const { ShouldNotReachHere(); return 0.0; } | 42 jdouble MachOper::constantD() const { ShouldNotReachHere(); return 0.0; } |
43 jfloat MachOper::constantF() const { ShouldNotReachHere(); return 0.0; } | 43 jfloat MachOper::constantF() const { ShouldNotReachHere(); return 0.0; } |
44 jlong MachOper::constantL() const { ShouldNotReachHere(); return CONST64(0) ; } | 44 jlong MachOper::constantL() const { ShouldNotReachHere(); return CONST64(0) ; } |
45 TypeOopPtr *MachOper::oop() const { return NULL; } | 45 TypeOopPtr *MachOper::oop() const { return NULL; } |
46 int MachOper::ccode() const { return 0x00; } | 46 int MachOper::ccode() const { return 0x00; } |
52 int MachOper::disp (PhaseRegAlloc *ra_, const Node *node, int idx) const { return 0x00; } | 52 int MachOper::disp (PhaseRegAlloc *ra_, const Node *node, int idx) const { return 0x00; } |
53 int MachOper::constant_disp() const { return 0; } | 53 int MachOper::constant_disp() const { return 0; } |
54 int MachOper::base_position() const { return -1; } // no base input | 54 int MachOper::base_position() const { return -1; } // no base input |
55 int MachOper::index_position() const { return -1; } // no index input | 55 int MachOper::index_position() const { return -1; } // no index input |
56 // Check for PC-Relative displacement | 56 // Check for PC-Relative displacement |
57 bool MachOper::disp_is_oop() const { return false; } | 57 relocInfo::relocType MachOper::disp_reloc() const { return relocInfo::none; } |
58 // Return the label | 58 // Return the label |
59 Label* MachOper::label() const { ShouldNotReachHere(); return 0; } | 59 Label* MachOper::label() const { ShouldNotReachHere(); return 0; } |
60 intptr_t MachOper::method() const { ShouldNotReachHere(); return 0; } | 60 intptr_t MachOper::method() const { ShouldNotReachHere(); return 0; } |
61 | 61 |
62 | 62 |