aboutsummaryrefslogtreecommitdiff
path: root/vm/AtomicCache.h
Commit message (Collapse)AuthorAgeFilesLines
* Don't cache failures in the interface cache.Elliott Hughes2012-12-061-2/+4
| | | | | | | | | | | If we try to reuse a failure, we'll be holding a NULL Method* without the current thread having the appropriate exception pending, which will lead to a SIGSEGV. I've added a corresponding vm-test to cts/. Bug: http://code.google.com/p/android/issues/detail?id=29358 Change-Id: I044e438c46fce256c8eff2dac5d86778734d5614
* Normalize the include guard style.Carl Shapiro2011-06-141-3/+3
| | | | | | | | | | An leading underscore followed by a capital letter is a reserved name space in C and C++. This change also moves any #include directives within the include guard in some of the compiler/codegen/arm header files. Change-Id: I9715e2c5301699d31886e61d0fe6e29483555a2a
* Get rid of uneeded extern, enum, typedef and struct qualifiers.Carl Shapiro2011-04-271-12/+4
| | | | Change-Id: I236c5a1553a51f82c9bc3eaaab042046c854d3b4
* Move fundamental object definitions and operations to C++Carl Shapiro2011-04-131-0/+8
| | | | Change-Id: Ibc3766edfbf7fdbde2d762d6e88a0bb02df2be31
* More SMP fixes.Andy McFadden2010-08-061-8/+6
| | | | | | | | | | | Convert some ANDROID_MEMBAR_FULL uses into equivalent atomic ops. A couple of "bool" had to convert to "int" since we don't have atomic ops for bools. Replaced a local implementation of atomic inc with a call to the atomic inc function. Change-Id: I948b8080d743552bde014d3a6e716ed2c30ebef8
* Dalvik SMP updateAndy McFadden2010-06-171-11/+11
| | | | | | | | | | | | | | | | | | Fix some SMP correctness issues in the VM: - Correct AtomicCache implementation, inserting barriers where needed and correcting existing usage. - Emphasize that String startup isn't expected to be reentrant, and use atomic ops to ensure that we explode if anybody tries it. - Use 64-bit quasiatomic ops to manage the "last activity" timer in JDWP. (Also, provide some documented but unimplemented behavior.) - Updated the volatile operations in sun.misc.Unsafe to include appropriate barriers. (This does not purport to correct all SMP issues, just some of the more obvious ones.) Change-Id: I06957ebcf2724fe7a228b30d00194b9b4808fae0
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+175
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-175/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+175