Disable USE_CYCLIC_GC (#4142)

This commit is contained in:
Alexander Shabalin
2020-04-29 12:53:13 +03:00
committed by GitHub
parent bd35c80b5b
commit ed36f02c26
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -1019,7 +1019,7 @@ task atomic0(type: KonanLocalTest) {
standaloneTest("atomic1") {
// Note: This test reproduces a race, so it'll start flaking if problem is reintroduced.
enabled = (project.testTarget != 'wasm32') // Workers need pthreads.
enabled = false // Needs USE_CYCLIC_GC, which is disabled.
source = "runtime/workers/atomic1.kt"
}
@@ -2793,12 +2793,13 @@ task memory_stable_ref_cross_thread_check(type: KonanLocalTest) {
}
standaloneTest("cycle_collector") {
disabled = project.globalTestArgs.contains('-opt') || (project.testTarget == 'wasm32') // Needs debug build.
disabled = true // Needs USE_CYCLIC_GC, which is disabled.
flags = ['-g']
source = "runtime/memory/cycle_collector.kt"
}
standaloneTest("cycle_collector_deadlock1") {
disabled = true // Needs USE_CYCLIC_GC, which is disabled.
source = "runtime/memory/cycle_collector_deadlock1.kt"
}
+1 -1
View File
@@ -20,7 +20,7 @@
#include <cstddef> // for offsetof
// Allow concurrent global cycle collector.
#define USE_CYCLIC_GC 1
#define USE_CYCLIC_GC 0
#include "Alloc.h"
#include "KAssert.h"