fb6431fcfbec51840dd3ac0a2fd16515b2fbcb1f |
|
22-Mar-2018 |
Alex Light <allight@google.com> |
Rewrite classTrack to not use jweaks. On Android runtimes there is a hard limit for the number of jweaks that can be active at any one time. By holding a jweak for every class (often in addition to the one being used by the regular commonRef code) the debugger was causing the process to run out of the jweaks when debugging some programs. This changes the implementation to instead use a second jvmtiEnv which tags all of the classes in order to keep track of which have been collected. Test: Use debugger with AGSA (velvet) Test: ./art/tools/run-libjdwp-tests.sh --mode=host Bug: 76096110 (cherry picked from commit c53a7db69ec9c262fcc227403e1336a1f48bfd01) Merged-In: I2e139ae53c5278a220bd15195627e27274ad816a Change-Id: I2e139ae53c5278a220bd15195627e27274ad816a
/external/oj-libjdwp/src/share/back/util.h
|
f7b8d9768a690d11954471455d73ea84d840030f |
|
24-Jan-2018 |
Alex Light <allight@google.com> |
Allow users to specify if DDMS has already been enabled. In some situations the debugger might start after DDMS has already broadcast that it is enabled. In this case we want to avoid double-enabling it. Test: Use Android-studio to start debugging apps. Bug: 62821960 Bug: 72456312 Change-Id: I23e488cd218083d96ab7301fd5858c25bcebed43
/external/oj-libjdwp/src/share/back/util.h
|
b4095656e5ac34ec11785bb4a0bdafdecf22a16f |
|
01-Dec-2017 |
Alex Light <allight@google.com> |
Add support for dalvik.system.VMDebug functions In android the dalvik.system.VMDebug class allows programs to examine the state of debuggers that are running on them. It allows them to determine if debuggers are currently attached, could be attached and when the last debugger operation took place. This is used for the 'wait-for-debugger' behavior when debugging android apps among other things. We implement this by simply having libjdwp take over the definitions of the relevant methods using RegisterNatives. Test: ./art/tools/run-libjdwp-tests.sh --mode=host Test: Manual Bug: 62821960 Change-Id: I57a8538532134e3415a4c014031ab16bf62a5cd7
/external/oj-libjdwp/src/share/back/util.h
|
6af14c5a1d2c0837a1cdad73c8722ee4f2c07f72 |
|
13-Nov-2017 |
Alex Light <allight@google.com> |
Add DDM.Chunk extension command support. The DDM.Chunk command is a long-standing jdwp extension supported by android. It allows clients to interact with the android DDMS system. The command is in command-set -57 (199u) and is command 1. It has a non-standard variable reply packet format where both errors and empty replies are responded to with a packet without any data in it. This non-standard behavior is matched for backwards-compatibility with pre-existing Android runtimes. The agent implements this functionality through a jvmti extension method. If the extension method is not present it will reply with normal errors to callers, as though the method was not implemented. Test: ./tools/art/run-libjdwp-tests.sh --mode=host Bug: 69169846 Change-Id: Id9e41f99fad536b84d4a2cb503ac4d3a0c69f252
/external/oj-libjdwp/src/share/back/util.h
|
2283b9d1d8f03fea8fa192c248b58726a66a6eaf |
|
26-May-2010 |
ohair <none@none> |
6943119: Rebrand source copyright notices Reviewed-by: darcy, weijun
/external/oj-libjdwp/src/share/back/util.h
|
6e45e10b03bafdc125c46a4864ba802c24d6bc78 |
|
01-Dec-2007 |
duke <none@none> |
Initial load
/external/oj-libjdwp/src/share/back/util.h
|