mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
6990754: Use native memory and reference counting to implement SymbolTable
Move symbols from permgen into C heap and reference count them Reviewed-by: never, acorn, jmasa, stefank
This commit is contained in:
parent
950858350d
commit
7b4f8073f0
223 changed files with 3783 additions and 3641 deletions
|
@ -261,10 +261,10 @@ class frame VALUE_OBJ_CLASS_SPEC {
|
|||
|
||||
// Find receiver for an invoke when arguments are just pushed on stack (i.e., callee stack-frame is
|
||||
// not setup)
|
||||
oop interpreter_callee_receiver(symbolHandle signature) { return *interpreter_callee_receiver_addr(signature); }
|
||||
oop interpreter_callee_receiver(Symbol* signature) { return *interpreter_callee_receiver_addr(signature); }
|
||||
|
||||
|
||||
oop* interpreter_callee_receiver_addr(symbolHandle signature);
|
||||
oop* interpreter_callee_receiver_addr(Symbol* signature);
|
||||
|
||||
|
||||
// expression stack (may go up or down, direction == 1 or -1)
|
||||
|
@ -386,11 +386,11 @@ class frame VALUE_OBJ_CLASS_SPEC {
|
|||
oop* oopmapreg_to_location(VMReg reg, const RegisterMap* regmap) const;
|
||||
|
||||
// Oops-do's
|
||||
void oops_compiled_arguments_do(symbolHandle signature, bool has_receiver, const RegisterMap* reg_map, OopClosure* f);
|
||||
void oops_compiled_arguments_do(Symbol* signature, bool has_receiver, const RegisterMap* reg_map, OopClosure* f);
|
||||
void oops_interpreted_do(OopClosure* f, const RegisterMap* map, bool query_oop_map_cache = true);
|
||||
|
||||
private:
|
||||
void oops_interpreted_arguments_do(symbolHandle signature, bool has_receiver, OopClosure* f);
|
||||
void oops_interpreted_arguments_do(Symbol* signature, bool has_receiver, OopClosure* f);
|
||||
|
||||
// Iteration of oops
|
||||
void oops_do_internal(OopClosure* f, CodeBlobClosure* cf, RegisterMap* map, bool use_interpreter_oop_map_cache);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue