mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 06:14:49 +02:00
8185505: AArch64: Port AOT to AArch64
Reviewed-by: kvn
This commit is contained in:
parent
3222e19f2c
commit
0d6885f792
29 changed files with 1007 additions and 122 deletions
|
@ -382,6 +382,10 @@ class CodeBuffer: public StackObj {
|
|||
|
||||
address _last_insn; // used to merge consecutive memory barriers, loads or stores.
|
||||
|
||||
#if INCLUDE_AOT
|
||||
bool _immutable_PIC;
|
||||
#endif
|
||||
|
||||
address _decode_begin; // start address for decode
|
||||
address decode_begin();
|
||||
|
||||
|
@ -396,6 +400,9 @@ class CodeBuffer: public StackObj {
|
|||
_overflow_arena = NULL;
|
||||
_code_strings = CodeStrings();
|
||||
_last_insn = NULL;
|
||||
#if INCLUDE_AOT
|
||||
_immutable_PIC = false;
|
||||
#endif
|
||||
}
|
||||
|
||||
void initialize(address code_start, csize_t code_size) {
|
||||
|
@ -629,6 +636,13 @@ class CodeBuffer: public StackObj {
|
|||
// Log a little info about section usage in the CodeBuffer
|
||||
void log_section_sizes(const char* name);
|
||||
|
||||
#if INCLUDE_AOT
|
||||
// True if this is a code buffer used for immutable PIC, i.e. AOT
|
||||
// compilation.
|
||||
bool immutable_PIC() { return _immutable_PIC; }
|
||||
void set_immutable_PIC(bool pic) { _immutable_PIC = pic; }
|
||||
#endif
|
||||
|
||||
#ifndef PRODUCT
|
||||
public:
|
||||
// Printing / Decoding
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue