Mercurial > hg > graal-compiler
comparison src/share/vm/classfile/vmSymbols.hpp @ 7429:a46457045d66
8004330: Add missing Unsafe entry points for addAndGet() family
Summary: Fix java names for getAndSet intrinsics
Reviewed-by: kvn
Contributed-by: aleksey.shipilev@oracle.com
author | kvn |
---|---|
date | Thu, 20 Dec 2012 14:17:52 -0800 |
parents | 1e41b0bc58a0 |
children | 4daebd4cc1dd |
comparison
equal
deleted
inserted
replaced
7428:2d6c433b1f38 | 7429:a46457045d66 |
---|---|
904 do_name( getAndAddInt_name, "getAndAddInt") \ | 904 do_name( getAndAddInt_name, "getAndAddInt") \ |
905 do_signature(getAndAddInt_signature, "(Ljava/lang/Object;JI)I" ) \ | 905 do_signature(getAndAddInt_signature, "(Ljava/lang/Object;JI)I" ) \ |
906 do_intrinsic(_getAndAddLong, sun_misc_Unsafe, getAndAddLong_name, getAndAddLong_signature, F_R) \ | 906 do_intrinsic(_getAndAddLong, sun_misc_Unsafe, getAndAddLong_name, getAndAddLong_signature, F_R) \ |
907 do_name( getAndAddLong_name, "getAndAddLong") \ | 907 do_name( getAndAddLong_name, "getAndAddLong") \ |
908 do_signature(getAndAddLong_signature, "(Ljava/lang/Object;JJ)J" ) \ | 908 do_signature(getAndAddLong_signature, "(Ljava/lang/Object;JJ)J" ) \ |
909 do_intrinsic(_getAndSetInt, sun_misc_Unsafe, getAndSet_name, getAndSetInt_signature, F_R) \ | 909 do_intrinsic(_getAndSetInt, sun_misc_Unsafe, getAndSetInt_name, getAndSetInt_signature, F_R) \ |
910 do_name( getAndSet_name, "getAndSet") \ | 910 do_name( getAndSetInt_name, "getAndSetInt") \ |
911 do_alias( getAndSetInt_signature, /*"(Ljava/lang/Object;JI)I"*/ getAndAddInt_signature) \ | 911 do_alias( getAndSetInt_signature, /*"(Ljava/lang/Object;JI)I"*/ getAndAddInt_signature) \ |
912 do_intrinsic(_getAndSetLong, sun_misc_Unsafe, getAndSet_name, getAndSetLong_signature, F_R) \ | 912 do_intrinsic(_getAndSetLong, sun_misc_Unsafe, getAndSetLong_name, getAndSetLong_signature, F_R) \ |
913 do_name( getAndSetLong_name, "getAndSetLong") \ | |
913 do_alias( getAndSetLong_signature, /*"(Ljava/lang/Object;JJ)J"*/ getAndAddLong_signature) \ | 914 do_alias( getAndSetLong_signature, /*"(Ljava/lang/Object;JJ)J"*/ getAndAddLong_signature) \ |
914 do_intrinsic(_getAndSetObject, sun_misc_Unsafe, getAndSet_name, getAndSetObject_signature, F_R) \ | 915 do_intrinsic(_getAndSetObject, sun_misc_Unsafe, getAndSetObject_name, getAndSetObject_signature, F_R)\ |
916 do_name( getAndSetObject_name, "getAndSetObject") \ | |
915 do_signature(getAndSetObject_signature, "(Ljava/lang/Object;JLjava/lang/Object;)Ljava/lang/Object;" ) \ | 917 do_signature(getAndSetObject_signature, "(Ljava/lang/Object;JLjava/lang/Object;)Ljava/lang/Object;" ) \ |
916 \ | 918 \ |
917 /* prefetch_signature is shared by all prefetch variants */ \ | 919 /* prefetch_signature is shared by all prefetch variants */ \ |
918 do_signature( prefetch_signature, "(Ljava/lang/Object;J)V") \ | 920 do_signature( prefetch_signature, "(Ljava/lang/Object;J)V") \ |
919 \ | 921 \ |