< prev index next >

src/hotspot/cpu/aarch64/c1_MacroAssembler_aarch64.hpp

Print this page

 83   // (can also be used to allocate fixed-size arrays, by setting
 84   // hdr_size correctly and storing the array length afterwards)
 85   // obj        : will contain pointer to allocated object
 86   // t1, t2     : scratch registers - contents destroyed
 87   // header_size: size of object header in words
 88   // object_size: total size of object in words
 89   // slow_case  : exit to slow case implementation if fast allocation fails
 90   void allocate_object(Register obj, Register t1, Register t2, int header_size, int object_size, Register klass, Label& slow_case);
 91 
 92   enum {
 93     max_array_allocation_length = 0x00FFFFFF
 94   };
 95 
 96   // allocation of arrays
 97   // obj        : will contain pointer to allocated object
 98   // len        : array length in number of elements
 99   // t          : scratch register - contents destroyed
100   // header_size: size of object header in words
101   // f          : element scale factor
102   // slow_case  : exit to slow case implementation if fast allocation fails
103   void allocate_array(Register obj, Register len, Register t, Register t2, int header_size, int f, Register klass, Label& slow_case);
104 
105   int  rsp_offset() const { return _rsp_offset; }
106   void set_rsp_offset(int n) { _rsp_offset = n; }
107 
108   void invalidate_registers(bool inv_r0, bool inv_r19, bool inv_r2, bool inv_r3, bool inv_r4, bool inv_r5) PRODUCT_RETURN;
109 
110   // This platform only uses signal-based null checks. The Label is not needed.
111   void null_check(Register r, Label *Lnull = nullptr) { MacroAssembler::null_check(r); }
112 
113   void load_parameter(int offset_in_words, Register reg);
114 
115 #endif // CPU_AARCH64_C1_MACROASSEMBLER_AARCH64_HPP

 83   // (can also be used to allocate fixed-size arrays, by setting
 84   // hdr_size correctly and storing the array length afterwards)
 85   // obj        : will contain pointer to allocated object
 86   // t1, t2     : scratch registers - contents destroyed
 87   // header_size: size of object header in words
 88   // object_size: total size of object in words
 89   // slow_case  : exit to slow case implementation if fast allocation fails
 90   void allocate_object(Register obj, Register t1, Register t2, int header_size, int object_size, Register klass, Label& slow_case);
 91 
 92   enum {
 93     max_array_allocation_length = 0x00FFFFFF
 94   };
 95 
 96   // allocation of arrays
 97   // obj        : will contain pointer to allocated object
 98   // len        : array length in number of elements
 99   // t          : scratch register - contents destroyed
100   // header_size: size of object header in words
101   // f          : element scale factor
102   // slow_case  : exit to slow case implementation if fast allocation fails
103   void allocate_array(Register obj, Register len, Register t, Register t2, int base_offset_in_bytes, int f, Register klass, Label& slow_case);
104 
105   int  rsp_offset() const { return _rsp_offset; }
106   void set_rsp_offset(int n) { _rsp_offset = n; }
107 
108   void invalidate_registers(bool inv_r0, bool inv_r19, bool inv_r2, bool inv_r3, bool inv_r4, bool inv_r5) PRODUCT_RETURN;
109 
110   // This platform only uses signal-based null checks. The Label is not needed.
111   void null_check(Register r, Label *Lnull = nullptr) { MacroAssembler::null_check(r); }
112 
113   void load_parameter(int offset_in_words, Register reg);
114 
115 #endif // CPU_AARCH64_C1_MACROASSEMBLER_AARCH64_HPP
< prev index next >