diff options
author | Carl Shapiro <cshapiro@google.com> | 2010-06-30 16:50:00 -0700 |
---|---|---|
committer | Carl Shapiro <cshapiro@google.com> | 2010-06-30 16:50:00 -0700 |
commit | 453e05f3847e8c7170291df04225d41abbecd4f9 (patch) | |
tree | afa776e360db03362174830c3518934c20e1f08f /vm/test | |
parent | 0d3291c78488fc64455270c42e4a70d433e11f33 (diff) | |
download | android_dalvik-453e05f3847e8c7170291df04225d41abbecd4f9.tar.gz android_dalvik-453e05f3847e8c7170291df04225d41abbecd4f9.tar.bz2 android_dalvik-453e05f3847e8c7170291df04225d41abbecd4f9.zip |
Eliminate the only use of the releasing swap name.
Change-Id: I5e59c5b364c4155b179ceb9c16d2c4baae6cd2ea
Diffstat (limited to 'vm/test')
-rw-r--r-- | vm/test/AtomicTest.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vm/test/AtomicTest.c b/vm/test/AtomicTest.c index e976d8d88..62333d0a2 100644 --- a/vm/test/AtomicTest.c +++ b/vm/test/AtomicTest.c @@ -346,15 +346,15 @@ bool dvmTestAtomicSpeed(void) android_atomic_and(0xfffdaf96, &andTest); android_atomic_or(0xdeaaeb00, &orTest); int oldSwap = android_atomic_swap(0x22222222, &swapTest); - int oldSwap2 = android_atomic_release_swap(0x33333333, &swapTest); + int oldSwap2 = android_atomic_swap(0x33333333, &swapTest); if (android_atomic_release_cas(failingCasTest+1, failingCasTest-1, &failingCasTest) == 0) dvmFprintf(stdout, "failing test did not fail!\n"); dvmFprintf(stdout, "andTest = 0x%x\n", andTest); dvmFprintf(stdout, "orTest = 0x%x\n", orTest); - dvmFprintf(stdout, "acquire swapTest = 0x%x -> 0x%x\n", oldSwap, oldSwap2); - dvmFprintf(stdout, "release swapTest = 0x%x -> 0x%x\n", oldSwap2, swapTest); + dvmFprintf(stdout, "swapTest = 0x%x -> 0x%x\n", oldSwap, oldSwap2); + dvmFprintf(stdout, "swapTest = 0x%x -> 0x%x\n", oldSwap2, swapTest); dvmFprintf(stdout, "failingCasTest = %d\n", failingCasTest); #ifdef TEST_BIONIC |