128689844fda7f9287cc7494ec357397b6d59576 |
|
01-Jul-2011 |
jeffhao <jeffhao@google.com> |
Added mutex for jdwp socket writes to prevent interleaving. This commit includes a following change: Clean up jdwp adb/socket and fix initialization issues. Change-Id: I79461b92d690e42d8d1d82d31fbcacb4d5650a74
|
375fb116bcb817b37509ab579dbd55cdbb765cbf |
|
15-Jun-2011 |
Carl Shapiro <cshapiro@google.com> |
Normalize the include guard style. 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
|
d862faa2ceae186da5518607505eb942d634ced9 |
|
28-Apr-2011 |
Carl Shapiro <cshapiro@google.com> |
Get rid of uneeded extern, enum, typedef and struct qualifiers. Change-Id: I236c5a1553a51f82c9bc3eaaab042046c854d3b4
|
2d63bc57d5fcbcd54f0bd3e9491e1704b98ec0bf |
|
14-Apr-2011 |
Carl Shapiro <cshapiro@google.com> |
Move JDWP into C++ and add extern "C" to remaining non-compiler includes. Change-Id: I19cba56e8f75b76f902c87ff5c5b3e2c17cb5c00
|
fc3d31683a0120ba005f45f98dcbe1001064dafb |
|
05-Aug-2010 |
Andy McFadden <fadden@android.com> |
More SMP fixes. 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
|
deeeeb264fc6f4ab7f5cb6e01b9dd76f487ff914 |
|
16-Jun-2010 |
Andy McFadden <fadden@android.com> |
Dalvik SMP update 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
|
0171812e59e2520a4345b9bbadd4f7afa0a1de16 |
|
23-Jan-2010 |
Andy McFadden <fadden@android.com> |
Add streaming method profiling support. The goal is to allow DDMS to start/stop method profiling in apps that don't have permission to write to /sdcard. Instead of writing the profiling data to disk and then pulling it off, we just blast the whole thing straight from memory. This includes: - New method tracing start call (startMethodTracingDdms). - Rearrangement of existing VMDebug method tracing calls for sanity. - Addition of "vector" chunk send function, with corresponding update to the JDWP transport function. - Reshuffled the method trace start interlock, which seemed racy. - Post new method-trace-profiling-streaming feature to DDMS. Also: - Added an internal exception-throw function that allows a printf format string, so we can put useful detail into exception messages. For bug 2160407.
|
5442d46fe1d0645d786a289c1143e830a6699b14 |
|
18-Dec-2009 |
Andy McFadden <fadden@android.com> |
Use writev() for DDMS packets. The code was using the JDWP "expanding buffer" stuff, which is fine for 4-byte status messages but will be terrible for buffers of tracing and profiling data. Now we construct the header in a separate buffer.
|
f6c387128427e121477c1b32ad35cdcaa5101ba3 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
|
f72d5de56a522ac3be03873bdde26f23a5eeeb3c |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
|
2ad60cfc28e14ee8f0bb038720836a4696c478ad |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
|