Disable USE_CYCLIC_GC (#4142)
This commit is contained in:
committed by
GitHub
parent
bd35c80b5b
commit
ed36f02c26
@@ -1019,7 +1019,7 @@ task atomic0(type: KonanLocalTest) {
|
|||||||
|
|
||||||
standaloneTest("atomic1") {
|
standaloneTest("atomic1") {
|
||||||
// Note: This test reproduces a race, so it'll start flaking if problem is reintroduced.
|
// 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"
|
source = "runtime/workers/atomic1.kt"
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2793,12 +2793,13 @@ task memory_stable_ref_cross_thread_check(type: KonanLocalTest) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
standaloneTest("cycle_collector") {
|
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']
|
flags = ['-g']
|
||||||
source = "runtime/memory/cycle_collector.kt"
|
source = "runtime/memory/cycle_collector.kt"
|
||||||
}
|
}
|
||||||
|
|
||||||
standaloneTest("cycle_collector_deadlock1") {
|
standaloneTest("cycle_collector_deadlock1") {
|
||||||
|
disabled = true // Needs USE_CYCLIC_GC, which is disabled.
|
||||||
source = "runtime/memory/cycle_collector_deadlock1.kt"
|
source = "runtime/memory/cycle_collector_deadlock1.kt"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
#include <cstddef> // for offsetof
|
#include <cstddef> // for offsetof
|
||||||
|
|
||||||
// Allow concurrent global cycle collector.
|
// Allow concurrent global cycle collector.
|
||||||
#define USE_CYCLIC_GC 1
|
#define USE_CYCLIC_GC 0
|
||||||
|
|
||||||
#include "Alloc.h"
|
#include "Alloc.h"
|
||||||
#include "KAssert.h"
|
#include "KAssert.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user