summaryrefslogtreecommitdiffstats
path: root/vm/Atomic.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove (one last?) __sh__.Elliott Hughes2012-10-121-3/+0
| | | | | | | Zombies everywhere! I think this is the last one that isn't in third-party code, though I'm pretty sure I've said that before. Change-Id: I07c88a07c694eea646bee85c5e9ad3004b3a03e1
* Don't crash in dvmQuasiAtomicsShutdown if we never ran dvmQuasiAtomicsStartup.Elliott Hughes2012-08-291-1/+3
| | | | | | | | | | | | | | | dalvikvm --help would fail here: #0 __pthread_mutex_destroy (mutex=0x0) at pthread_mutex_destroy.c:28 #1 0xf7b36e13 in dvmDestroyMutex (pMutex=0x0) at dalvik/vm/Thread.h:465 #2 dvmQuasiAtomicsShutdown () at dalvik/vm/Atomic.cpp:188 #3 0xf7b65781 in dvmShutdown () at dalvik/vm/Init.cpp:1889 #4 0xf7b65f31 in ~ScopedShutdown (this=<synthetic pointer>, __in_chrg=<optimized out>) at dalvik/vm/Init.cpp:1317 #5 dvmStartup (argc=11, argv=0x804b360, ignoreUnrecognized=false, pEnv=0x804b398) at dalvik/vm/Init.cpp:1548 #6 0xf7b790e2 in JNI_CreateJavaVM (p_vm=0xffffc758, p_env=0xffffc75c, vm_args=0xffffc760) at dalvik/vm/Jni.cpp:3502 #7 0x08048958 in main (argc=13, argv=0xffffc8b8) at dalvik/dalvikvm/Main.cpp:212 Change-Id: I8c833ca5ea454d9b2d1714a569fb728562088659
* am e6bdc430: Merge "Fix a bug in dvmQuasiAtomicsShutdown."Elliott Hughes2012-05-031-1/+1
|\ | | | | | | | | * commit 'e6bdc430f38ef9c2e74ecdb0cee5aa04848e71fc': Fix a bug in dvmQuasiAtomicsShutdown.
| * Fix a bug in dvmQuasiAtomicsShutdown.Elliott Hughes2012-05-021-1/+1
| | | | | | | | | | | | Spotted visually when merging to an internal branch. Change-Id: Ic130608bfa46036cec0684cd50706178cfefd2a0
* | resolved conflicts for merge of 323d9152 to jb-dev-plus-aospElliott Hughes2012-05-021-178/+103
|\| | | | | | | Change-Id: Ie94542150dad725ca09ad2824cddd034cd6a149b
| * Simplify the quasi-atomic stuff and add MIPS support.Elliott Hughes2012-05-011-177/+102
| | | | | | | | Change-Id: Iac896c03ef707c998cc714628adea0255f21c035
* | Support building Dalvik with AddressSanitizer.Evgeniy Stepanov2012-04-111-1/+2
|/ | | | Change-Id: I007c5080081a4a66b39fa6b539afd8f00fd8ce0f
* Fix a typo in unused code.Elliott Hughes2011-09-291-1/+1
| | | | Change-Id: Ied11a79337a3cc795428dfde29e405ec0bbcb98c
* Fix memory barriers (Issue 3338450)buzbee2011-09-271-2/+46
| | | | | | Add extra memory barrier on volatile stores. Change-Id: Id4a4750cdfc910eda2f0b44ead0af2a569b5735e
* Move the remaining non-compiler VM code into C++.Carl Shapiro2011-04-151-0/+282
Change-Id: Id8693208d2741c55a7b0474d1264f2112019d11f