Home
last modified time | relevance | path

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

/art/runtime/interpreter/
Dinterpreter_switch_impl1.cc75 static void RecordArrayElementsInTransactionImpl(Transaction* transaction, in RecordArrayElementsInTransactionImpl() argument
80 transaction->RecordWriteArray(array.Ptr(), i, array->GetWithoutChecks(i)); in RecordArrayElementsInTransactionImpl()
92 Transaction* transaction = GetClassLinker()->GetTransaction(); in RecordArrayElementsInTransaction() local
93 if (!transaction->ArrayNeedsTransactionRecords(array->AsArray())) { in RecordArrayElementsInTransaction()
103 RecordArrayElementsInTransactionImpl(transaction, array->AsBooleanArray(), count); in RecordArrayElementsInTransaction()
106 RecordArrayElementsInTransactionImpl(transaction, array->AsByteArray(), count); in RecordArrayElementsInTransaction()
109 RecordArrayElementsInTransactionImpl(transaction, array->AsCharArray(), count); in RecordArrayElementsInTransaction()
112 RecordArrayElementsInTransactionImpl(transaction, array->AsShortArray(), count); in RecordArrayElementsInTransaction()
115 RecordArrayElementsInTransactionImpl(transaction, array->AsIntArray(), count); in RecordArrayElementsInTransaction()
118 RecordArrayElementsInTransactionImpl(transaction, array->AsFloatArray(), count); in RecordArrayElementsInTransaction()
[all …]
/art/runtime/
Dtransaction.cc805 Transaction* transaction = nullptr; in InstallAssertion() local
808 transaction = class_linker->GetTransaction(); in InstallAssertion()
809 if (transaction != nullptr) { in InstallAssertion()
810 CHECK(transaction->assert_no_new_records_reason_ == nullptr) in InstallAssertion()
811 << "old: " << transaction->assert_no_new_records_reason_ << " new: " << reason; in InstallAssertion()
812 transaction->assert_no_new_records_reason_ = reason; in InstallAssertion()
815 return transaction; in InstallAssertion()
818 void ScopedAssertNoNewTransactionRecords::RemoveAssertion(Transaction* transaction) { in RemoveAssertion() argument
821 CHECK(class_linker->GetTransaction() == transaction); in RemoveAssertion()
822 CHECK(transaction->assert_no_new_records_reason_ != nullptr); in RemoveAssertion()
[all …]
Dtransaction_test.cc802 Transaction transaction( in TEST_F() local
805 EXPECT_TRUE(transaction.WriteConstraint(boolean_class.Get())); in TEST_F()
806 EXPECT_FALSE(transaction.ReadConstraint(boolean_class.Get())); in TEST_F()
809 EXPECT_TRUE(transaction.WriteConstraint(true_value.Get())); in TEST_F()
810 EXPECT_TRUE(transaction.WriteConstraint(array_iftable.Get())); in TEST_F()
812 EXPECT_FALSE(transaction.WriteConstraint(static_fields_test_class.Get())); in TEST_F()
813 EXPECT_FALSE(transaction.ReadConstraint(static_fields_test_class.Get())); in TEST_F()
816 EXPECT_FALSE(transaction.WriteConstraint(instance_fields_test_object.Get())); in TEST_F()
817 EXPECT_FALSE(transaction.WriteConstraint(long_array_dim3.Get())); in TEST_F()
819 EXPECT_FALSE(transaction.WriteValueConstraint(static_fields_test_class.Get())); in TEST_F()
[all …]
Dtransaction.h403 static void RemoveAssertion(Transaction* transaction);
DAndroid.bp421 "transaction.cc",
/art/runtime/oat/
Daot_class_linker.cc509 for (Transaction& transaction : preinitialization_transactions_) { in VisitTransactionRoots()
510 transaction.VisitRoots(visitor); in VisitTransactionRoots()