Searched defs:transaction (Results 1 - 3 of 3) sorted by relevance

/art/runtime/
H A Dtransaction_test.cc17 #include "transaction.h"
36 Transaction transaction; local
37 Runtime::Current()->EnterTransactionMode(&transaction);
43 // Aborting transaction must not clear the Object::class field.
44 transaction.Abort();
58 // Lock object's monitor outside the transaction.
62 Transaction transaction; local
63 Runtime::Current()->EnterTransactionMode(&transaction);
64 // Unlock object's monitor inside the transaction.
69 // Aborting transaction mus
85 Transaction transaction; local
172 Transaction transaction; local
271 Transaction transaction; local
386 Transaction transaction; local
425 Transaction transaction; local
446 Transaction transaction; local
487 Transaction transaction; local
[all...]
H A Druntime.cc82 #include "transaction.h"
379 // We can't run in a transaction yet.
1353 void Runtime::EnterTransactionMode(Transaction* transaction) { argument
1355 DCHECK(transaction != nullptr);
1357 preinitialization_transaction_ = transaction;
/art/compiler/driver/
H A Dcompiler_driver.cc58 #include "transaction.h"
1823 // exclusive access to the runtime and the transaction. To achieve this, we could use
1827 Transaction transaction; local
1829 // Run the class initializer in transaction mode.
1830 runtime->EnterTransactionMode(&transaction);
1833 // TODO we detach transaction from runtime to indicate we quit the transactional
1834 // mode which prevents the GC from visiting objects modified during the transaction.
1835 // Ensure GC is not run so don't access freed objects when aborting transaction.
1846 transaction.Abort();

Completed in 60 milliseconds