Merge
This commit is contained in:
commit
c9605d2534
@ -86,8 +86,8 @@ define SetupTestFilesCompilationBody
|
|||||||
OBJECT_DIR := $$($1_OUTPUT_DIR)/support/$$($1_PREFIX)$$(name), \
|
OBJECT_DIR := $$($1_OUTPUT_DIR)/support/$$($1_PREFIX)$$(name), \
|
||||||
OUTPUT_DIR := $$($1_OUTPUT_DIR)/$$($1_OUTPUT_SUBDIR), \
|
OUTPUT_DIR := $$($1_OUTPUT_DIR)/$$($1_OUTPUT_SUBDIR), \
|
||||||
LANG := C, \
|
LANG := C, \
|
||||||
CFLAGS := $$($1_CFLAGS), \
|
CFLAGS := $$($1_CFLAGS) $$($1_CFLAGS_$$($1_PREFIX)$$(name)), \
|
||||||
LDFLAGS := $$($1_LDFLAGS), \
|
LDFLAGS := $$($1_LDFLAGS) $$($1_LDFLAGS_$$($1_PREFIX)$$(name)), \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
DEBUG_SYMBOLS := true)) \
|
DEBUG_SYMBOLS := true)) \
|
||||||
$$(eval $1 += $$(BUILD_TEST_$$(name)) ) \
|
$$(eval $1 += $$(BUILD_TEST_$$(name)) ) \
|
||||||
|
@ -306,6 +306,8 @@ public class WhiteBox {
|
|||||||
public native boolean isConstantVMFlag(String name);
|
public native boolean isConstantVMFlag(String name);
|
||||||
public native boolean isLockedVMFlag(String name);
|
public native boolean isLockedVMFlag(String name);
|
||||||
public native void setBooleanVMFlag(String name, boolean value);
|
public native void setBooleanVMFlag(String name, boolean value);
|
||||||
|
public native void setIntVMFlag(String name, long value);
|
||||||
|
public native void setUintVMFlag(String name, long value);
|
||||||
public native void setIntxVMFlag(String name, long value);
|
public native void setIntxVMFlag(String name, long value);
|
||||||
public native void setUintxVMFlag(String name, long value);
|
public native void setUintxVMFlag(String name, long value);
|
||||||
public native void setUint64VMFlag(String name, long value);
|
public native void setUint64VMFlag(String name, long value);
|
||||||
@ -313,6 +315,8 @@ public class WhiteBox {
|
|||||||
public native void setStringVMFlag(String name, String value);
|
public native void setStringVMFlag(String name, String value);
|
||||||
public native void setDoubleVMFlag(String name, double value);
|
public native void setDoubleVMFlag(String name, double value);
|
||||||
public native Boolean getBooleanVMFlag(String name);
|
public native Boolean getBooleanVMFlag(String name);
|
||||||
|
public native Long getIntVMFlag(String name);
|
||||||
|
public native Long getUintVMFlag(String name);
|
||||||
public native Long getIntxVMFlag(String name);
|
public native Long getIntxVMFlag(String name);
|
||||||
public native Long getUintxVMFlag(String name);
|
public native Long getUintxVMFlag(String name);
|
||||||
public native Long getUint64VMFlag(String name);
|
public native Long getUint64VMFlag(String name);
|
||||||
@ -320,9 +324,9 @@ public class WhiteBox {
|
|||||||
public native String getStringVMFlag(String name);
|
public native String getStringVMFlag(String name);
|
||||||
public native Double getDoubleVMFlag(String name);
|
public native Double getDoubleVMFlag(String name);
|
||||||
private final List<Function<String,Object>> flagsGetters = Arrays.asList(
|
private final List<Function<String,Object>> flagsGetters = Arrays.asList(
|
||||||
this::getBooleanVMFlag, this::getIntxVMFlag, this::getUintxVMFlag,
|
this::getBooleanVMFlag, this::getIntVMFlag, this::getUintVMFlag,
|
||||||
this::getUint64VMFlag, this::getSizeTVMFlag, this::getStringVMFlag,
|
this::getIntxVMFlag, this::getUintxVMFlag, this::getUint64VMFlag,
|
||||||
this::getDoubleVMFlag);
|
this::getSizeTVMFlag, this::getStringVMFlag, this::getDoubleVMFlag);
|
||||||
|
|
||||||
public Object getVMFlag(String name) {
|
public Object getVMFlag(String name) {
|
||||||
return flagsGetters.stream()
|
return flagsGetters.stream()
|
||||||
|
Loading…
Reference in New Issue
Block a user