mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8064458: OopMap class could be more compact
Reviewed-by: kvn, bdelsart
This commit is contained in:
parent
6d705e6978
commit
41e1772251
20 changed files with 549 additions and 230 deletions
|
@ -77,7 +77,7 @@ class CodeBlob VALUE_OBJ_CLASS_SPEC {
|
|||
// which we don't detect.
|
||||
int _data_offset; // offset to where data region begins
|
||||
int _frame_size; // size of stack frame
|
||||
OopMapSet* _oop_maps; // OopMap for this CodeBlob
|
||||
ImmutableOopMapSet* _oop_maps; // OopMap for this CodeBlob
|
||||
CodeStrings _strings;
|
||||
|
||||
public:
|
||||
|
@ -171,9 +171,9 @@ class CodeBlob VALUE_OBJ_CLASS_SPEC {
|
|||
virtual bool is_alive() const = 0;
|
||||
|
||||
// OopMap for frame
|
||||
OopMapSet* oop_maps() const { return _oop_maps; }
|
||||
ImmutableOopMapSet* oop_maps() const { return _oop_maps; }
|
||||
void set_oop_maps(OopMapSet* p);
|
||||
OopMap* oop_map_for_return_address(address return_address);
|
||||
const ImmutableOopMap* oop_map_for_return_address(address return_address);
|
||||
virtual void preserve_callee_argument_oops(frame fr, const RegisterMap* reg_map, OopClosure* f) { ShouldNotReachHere(); }
|
||||
|
||||
// Frame support
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue