Mercurial > hg > truffle
comparison src/share/vm/oops/arrayKlass.hpp @ 2177:3582bf76420e
6990754: Use native memory and reference counting to implement SymbolTable
Summary: move symbols from permgen into C heap and reference count them
Reviewed-by: never, acorn, jmasa, stefank
author | coleenp |
---|---|
date | Thu, 27 Jan 2011 16:11:27 -0800 |
parents | d4fca0a6abde |
children | 069ab3f976d3 |
comparison
equal
deleted
inserted
replaced
2176:27e4ea99855d | 2177:3582bf76420e |
---|---|
82 // are always in higher memory. The callers of these set that up. | 82 // are always in higher memory. The callers of these set that up. |
83 virtual oop multi_allocate(int rank, jint* sizes, TRAPS); | 83 virtual oop multi_allocate(int rank, jint* sizes, TRAPS); |
84 objArrayOop allocate_arrayArray(int n, int length, TRAPS); | 84 objArrayOop allocate_arrayArray(int n, int length, TRAPS); |
85 | 85 |
86 // Lookup operations | 86 // Lookup operations |
87 methodOop uncached_lookup_method(symbolOop name, symbolOop signature) const; | 87 methodOop uncached_lookup_method(Symbol* name, Symbol* signature) const; |
88 | 88 |
89 // Casting from klassOop | 89 // Casting from klassOop |
90 static arrayKlass* cast(klassOop k) { | 90 static arrayKlass* cast(klassOop k) { |
91 Klass* kp = k->klass_part(); | 91 Klass* kp = k->klass_part(); |
92 assert(kp->null_vtbl() || kp->oop_is_array(), "cast to arrayKlass"); | 92 assert(kp->null_vtbl() || kp->oop_is_array(), "cast to arrayKlass"); |