< prev index next >

src/hotspot/cpu/arm/c1_MacroAssembler_arm.hpp

Print this page

35   // `size_expression` should be a register or constant which can be used as immediate in "add" instruction.
36   void try_allocate(Register obj, Register obj_end, Register tmp1, Register tmp2,
37                     RegisterOrConstant size_expression, Label& slow_case);
38 
39   void initialize_header(Register obj, Register klass, Register len, Register tmp);
40 
41   // Cleans object body [base..obj_end]. Clobbers `base` and `tmp` registers.
42   void initialize_body(Register base, Register obj_end, Register tmp);
43 
44   void initialize_object(Register obj, Register obj_end, Register klass,
45                          Register len, Register tmp1, Register tmp2,
46                          RegisterOrConstant header_size_expression, int obj_size_in_bytes,
47                          bool is_tlab_allocated);
48 
49   void allocate_object(Register obj, Register tmp1, Register tmp2, Register tmp3,
50                        int header_size, int object_size,
51                        Register klass, Label& slow_case);
52 
53   void allocate_array(Register obj, Register len,
54                       Register tmp1, Register tmp2, Register tmp3,
55                       int header_size, int element_size,
56                       Register klass, Label& slow_case);
57 
58   enum {
59     max_array_allocation_length = 0x01000000
60   };
61 
62   int lock_object(Register hdr, Register obj, Register disp_hdr, Label& slow_case);
63 
64   void unlock_object(Register hdr, Register obj, Register disp_hdr, Label& slow_case);
65 
66   // This platform only uses signal-based null checks. The Label is not needed.
67   void null_check(Register r, Label *Lnull = NULL) { MacroAssembler::null_check(r); }
68 
69 #endif // CPU_ARM_C1_MACROASSEMBLER_ARM_HPP

35   // `size_expression` should be a register or constant which can be used as immediate in "add" instruction.
36   void try_allocate(Register obj, Register obj_end, Register tmp1, Register tmp2,
37                     RegisterOrConstant size_expression, Label& slow_case);
38 
39   void initialize_header(Register obj, Register klass, Register len, Register tmp);
40 
41   // Cleans object body [base..obj_end]. Clobbers `base` and `tmp` registers.
42   void initialize_body(Register base, Register obj_end, Register tmp);
43 
44   void initialize_object(Register obj, Register obj_end, Register klass,
45                          Register len, Register tmp1, Register tmp2,
46                          RegisterOrConstant header_size_expression, int obj_size_in_bytes,
47                          bool is_tlab_allocated);
48 
49   void allocate_object(Register obj, Register tmp1, Register tmp2, Register tmp3,
50                        int header_size, int object_size,
51                        Register klass, Label& slow_case);
52 
53   void allocate_array(Register obj, Register len,
54                       Register tmp1, Register tmp2, Register tmp3,
55                       int header_size_in_bytes, int element_size,
56                       Register klass, Label& slow_case);
57 
58   enum {
59     max_array_allocation_length = 0x01000000
60   };
61 
62   int lock_object(Register hdr, Register obj, Register disp_hdr, Label& slow_case);
63 
64   void unlock_object(Register hdr, Register obj, Register disp_hdr, Label& slow_case);
65 
66   // This platform only uses signal-based null checks. The Label is not needed.
67   void null_check(Register r, Label *Lnull = NULL) { MacroAssembler::null_check(r); }
68 
69 #endif // CPU_ARM_C1_MACROASSEMBLER_ARM_HPP
< prev index next >