Home
last modified time | relevance | path

Searched refs:transaction (Results 1 – 6 of 6) sorted by relevance

/art/runtime/
Dtransaction.cc713 Transaction* transaction = nullptr; in InstallAssertion() local
715 transaction = Runtime::Current()->GetTransaction().get(); in InstallAssertion()
716 if (transaction != nullptr) { in InstallAssertion()
717 MutexLock mu(Thread::Current(), transaction->log_lock_); in InstallAssertion()
718 CHECK(transaction->assert_no_new_records_reason_ == nullptr) in InstallAssertion()
719 << "old: " << transaction->assert_no_new_records_reason_ << " new: " << reason; in InstallAssertion()
720 transaction->assert_no_new_records_reason_ = reason; in InstallAssertion()
723 return transaction; in InstallAssertion()
726 void ScopedAssertNoNewTransactionRecords::RemoveAssertion(Transaction* transaction) { in RemoveAssertion() argument
728 CHECK(Runtime::Current()->GetTransaction().get() == transaction); in RemoveAssertion()
[all …]
Dtransaction_test.cc687 Transaction transaction(/*strict=*/ false, /*root=*/ nullptr); in TEST_F() local
689 EXPECT_TRUE(transaction.WriteConstraint(soa.Self(), boolean_class.Get())); in TEST_F()
690 EXPECT_FALSE(transaction.ReadConstraint(soa.Self(), boolean_class.Get())); in TEST_F()
693 EXPECT_TRUE(transaction.WriteConstraint(soa.Self(), true_value.Get())); in TEST_F()
694 EXPECT_TRUE(transaction.WriteConstraint(soa.Self(), array_iftable.Get())); in TEST_F()
696 EXPECT_FALSE(transaction.WriteConstraint(soa.Self(), static_fields_test_class.Get())); in TEST_F()
697 EXPECT_FALSE(transaction.ReadConstraint(soa.Self(), static_fields_test_class.Get())); in TEST_F()
700 EXPECT_FALSE(transaction.WriteConstraint(soa.Self(), instance_fields_test_object.Get())); in TEST_F()
701 EXPECT_FALSE(transaction.WriteConstraint(soa.Self(), long_array_dim2.Get())); in TEST_F()
703 EXPECT_FALSE(transaction.WriteValueConstraint(soa.Self(), static_fields_test_class.Get())); in TEST_F()
[all …]
Dtransaction.h343 static void RemoveAssertion(Transaction* transaction);
DAndroid.bp237 "transaction.cc",
Druntime.cc2207 for (auto& transaction : preinitialization_transactions_) { in VisitTransactionRoots() local
2208 transaction->VisitRoots(visitor); in VisitTransactionRoots()
/art/runtime/interpreter/
Dunstarted_runtime.cc399 bool transaction = runtime->IsActiveTransaction(); in UnstartedClassGetDeclaredMethod() local
403 if (transaction) { in UnstartedClassGetDeclaredMethod()
437 bool transaction = runtime->IsActiveTransaction(); in UnstartedClassGetDeclaredConstructor() local
440 if (transaction) { in UnstartedClassGetDeclaredConstructor()