diff options
author | 2019-12-17 17:07:33 +0000 | |
---|---|---|
committer | 2019-12-18 20:05:06 +0000 | |
commit | 80777ed308b965175223455d738c890618a008b5 (patch) | |
tree | ba8f6f8575f2a2a9d4157db7678328f4572d2458 /test/2005-pause-all-redefine-multithreaded/src/Main.java | |
parent | c4cc618ad864c1f943daaef26914463d92d46ca0 (diff) |
Revert^2 "Make sure all runtime threads are in the System thread group."
This reverts commit 9ca8b2bf46978e3a5698f8a27b48aa7eff3514df.
The test 2005 exposed an ABA race which could cause the test to
sometimes fail with CHECK failures or GC corruption.
Reason for revert: Fixed issue causing ABA race in PreObjectAlloc with
test.
Test: ./test.py --host --debug-gc
Bug: 146178357
Change-Id: If265f765e0c1e692755904b4c40bbc718d98f065
Diffstat (limited to 'test/2005-pause-all-redefine-multithreaded/src/Main.java')
-rw-r--r-- | test/2005-pause-all-redefine-multithreaded/src/Main.java | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/2005-pause-all-redefine-multithreaded/src/Main.java b/test/2005-pause-all-redefine-multithreaded/src/Main.java new file mode 100644 index 0000000000..951236af65 --- /dev/null +++ b/test/2005-pause-all-redefine-multithreaded/src/Main.java @@ -0,0 +1,21 @@ +/* + * Copyright (C) 2019 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +public class Main { + public static void main(String[] args) throws Exception { + art.Test2005.run(); + } +} |