diff options
author | Ian Pedowitz <ijpedowitz@google.com> | 2020-07-22 14:33:00 -0700 |
---|---|---|
committer | Ian Pedowitz <ijpedowitz@google.com> | 2020-07-24 00:41:56 +0000 |
commit | 2d53643ca0e05e7c67894aa75eba899acbb9f287 (patch) | |
tree | 39299475c04303312f527bc00355bd9fd7a3fad8 /dex2oat/driver/compiler_driver.cc | |
parent | cefebc86af30522bf79d2a89a2bcf96f7f970ecb (diff) | |
download | art-2d53643ca0e05e7c67894aa75eba899acbb9f287.tar.gz |
Update language to comply with Android’s inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for
reference
Bug: 161896447
Bug: 161850439
Bug: 161336379
Test: m -j checkbuild cts docs tests
Change-Id: I32d869c274a5d9a3dac63221e25874fe685d38c4
Diffstat (limited to 'dex2oat/driver/compiler_driver.cc')
-rw-r--r-- | dex2oat/driver/compiler_driver.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dex2oat/driver/compiler_driver.cc b/dex2oat/driver/compiler_driver.cc index cb4cb274ba..ef0677d488 100644 --- a/dex2oat/driver/compiler_driver.cc +++ b/dex2oat/driver/compiler_driver.cc @@ -2014,7 +2014,7 @@ class VerifyClassVisitor : public CompilationVisitor { } else if (failure_kind == verifier::FailureKind::kSoftFailure) { manager_->GetCompiler()->AddSoftVerifierFailure(); } else { - // Force a soft failure for the VerifierDeps. This is a sanity measure, as + // Force a soft failure for the VerifierDeps. This is a validity measure, as // the vdex file already records that the class hasn't been resolved. It avoids // trying to do future verification optimizations when processing the vdex file. DCHECK(failure_kind == verifier::FailureKind::kNoFailure || @@ -2319,8 +2319,8 @@ class InitializeClassVisitor : public CompilationVisitor { VLOG(compiler) << "Initializing: " << descriptor; // TODO multithreading support. We should ensure the current compilation thread has // exclusive access to the runtime and the transaction. To achieve this, we could use - // a ReaderWriterMutex but we're holding the mutator lock so we fail mutex sanity - // checks in Thread::AssertThreadSuspensionIsAllowable. + // a ReaderWriterMutex but we're holding the mutator lock so we fail the check of mutex + // validity in Thread::AssertThreadSuspensionIsAllowable. // Resolve and initialize the exception type before enabling the transaction in case // the transaction aborts and cannot resolve the type. |