Additional heap verification for the Gc
There are now two verification booleans which can be enabled. When these get enabled, it verifies that each live object only references other live objects.
Changed SetClass to use SetFieldPtr to avoid having an extra card mark. This is safe since all classes are held live by the class linker.
Change-Id: I005bb59e5cc8153a79d3ccb3d7b5cabd29fb4051
diff --git a/build/Android.common.mk b/build/Android.common.mk
index d02b998..7a6495a 100644
--- a/build/Android.common.mk
+++ b/build/Android.common.mk
@@ -254,7 +254,7 @@
ifeq ($(ART_USE_GREENLAND_COMPILER),true)
LIBART_COMMON_SRC_FILES += \
- src/greenland/inferred_reg_category_map.cc
+ src/greenland/inferred_reg_category_map.cc
endif
LIBART_COMMON_SRC_FILES += \
@@ -344,6 +344,7 @@
LIBART_ENUM_OPERATOR_OUT_HEADER_FILES := \
+ src/heap.h \
src/indirect_reference_table.h \
src/instruction_set.h \
src/invoke_type.h \