< prev index next >

make/gensrc/GensrcVarHandles.gmk

Print this page

        

*** 36,53 **** $1_Type := $2 $1_FILENAME := $(VARHANDLES_GENSRC_DIR)/VarHandle$$($1_Type)s.java ! ifneq ($$(findstring $$($1_Type), Object Int Long), ) $1_ARGS += -KCAS endif ! ifneq ($$(findstring $$($1_Type), Int Long), ) $1_ARGS += -KAtomicAdd endif $$($1_FILENAME): $(VARHANDLES_SRC_DIR)/X-VarHandle.java.template $(BUILD_TOOLS_JDK) ifeq ($$($1_Type), Object) $$(eval $1_type := $$($1_Type)) else $$(eval $1_type := $$$$(shell $(TR) '[:upper:]' '[:lower:]' <<< $$$$($1_Type))) --- 36,57 ---- $1_Type := $2 $1_FILENAME := $(VARHANDLES_GENSRC_DIR)/VarHandle$$($1_Type)s.java ! ifneq ($$(findstring $$($1_Type), Object Boolean Byte Short Char Int Long), ) $1_ARGS += -KCAS endif ! ifneq ($$(findstring $$($1_Type), Byte Short Char Int Long), ) $1_ARGS += -KAtomicAdd endif + ifneq ($$(findstring $$($1_Type), Byte Short Char), ) + $1_ARGS += -KShorterThanInt + endif + $$($1_FILENAME): $(VARHANDLES_SRC_DIR)/X-VarHandle.java.template $(BUILD_TOOLS_JDK) ifeq ($$($1_Type), Object) $$(eval $1_type := $$($1_Type)) else $$(eval $1_type := $$$$(shell $(TR) '[:upper:]' '[:lower:]' <<< $$$$($1_Type)))
< prev index next >