Mercurial > hg > graal-compiler
comparison src/cpu/x86/vm/sharedRuntime_x86_64.cpp @ 2405:3d58a4983660
7022998: JSR 292 recursive method handle calls inline themselves infinitely
Reviewed-by: never, kvn
author | twisti |
---|---|
date | Mon, 28 Mar 2011 03:58:07 -0700 |
parents | 638119ce7cfd |
children | 0654ee04b214 167b70ff3abc |
comparison
equal
deleted
inserted
replaced
2404:b40d4fa697bf | 2405:3d58a4983660 |
---|---|
1172 // convention (handlizes oops, etc), transitions to native, makes the call, | 1172 // convention (handlizes oops, etc), transitions to native, makes the call, |
1173 // returns to java state (possibly blocking), unhandlizes any result and | 1173 // returns to java state (possibly blocking), unhandlizes any result and |
1174 // returns. | 1174 // returns. |
1175 nmethod *SharedRuntime::generate_native_wrapper(MacroAssembler *masm, | 1175 nmethod *SharedRuntime::generate_native_wrapper(MacroAssembler *masm, |
1176 methodHandle method, | 1176 methodHandle method, |
1177 int compile_id, | |
1177 int total_in_args, | 1178 int total_in_args, |
1178 int comp_args_on_stack, | 1179 int comp_args_on_stack, |
1179 BasicType *in_sig_bt, | 1180 BasicType *in_sig_bt, |
1180 VMRegPair *in_regs, | 1181 VMRegPair *in_regs, |
1181 BasicType ret_type) { | 1182 BasicType ret_type) { |
1879 | 1880 |
1880 | 1881 |
1881 __ flush(); | 1882 __ flush(); |
1882 | 1883 |
1883 nmethod *nm = nmethod::new_native_nmethod(method, | 1884 nmethod *nm = nmethod::new_native_nmethod(method, |
1885 compile_id, | |
1884 masm->code(), | 1886 masm->code(), |
1885 vep_offset, | 1887 vep_offset, |
1886 frame_complete, | 1888 frame_complete, |
1887 stack_slots / VMRegImpl::slots_per_word, | 1889 stack_slots / VMRegImpl::slots_per_word, |
1888 (is_static ? in_ByteSize(klass_offset) : in_ByteSize(receiver_offset)), | 1890 (is_static ? in_ByteSize(klass_offset) : in_ByteSize(receiver_offset)), |