summaryrefslogtreecommitdiff
path: root/test/1914-get-local-instance/src
AgeCommit message (Collapse)Author
2019-05-14Centralize all the jvmti common test classesAlex Light
We share many common JVMTI test classes between our various JVMTI tests. We have always shared them by simply copying the .java files to any tests that need them. This leads to very large code-reviews and requires manual work if we ever need to update any of the helper files. To ensure everything stays in sync this moves all classes to a single test/ti-common directory that tests then contain symlinks into. Test: ./test.py --host Change-Id: I82238a63d281429196ed0e640e4a9ec3234d954c
2017-10-11Revert "Revert "Ensure Proxy frames work with JVMTI stack frame functions""Alex Light
This reverts commit d108d9eaae26df9e4480cf46d26e8c75f142bd6a. It seems we have a bug somewhere in our proxy or stack-visitor code causing StackVisitor::GetThisObject to return an object with a null klass_. Added a temporary skip for the test configurations that expose this until it can be fixed. Bug: 66903662 Bug: 67679263 Reason for revert: Added skip for test that exposes a pre-existing bug in our stack-visitor/proxy-object support. Test: ./test.py --host -j40 Test: ./test/testrunner/testrunner.py --host --gcstress -t 1939 Change-Id: I8a457112af404c3f4c94e3a2029b744d453ced5d
2017-10-11Revert "Ensure Proxy frames work with JVMTI stack frame functions"Vladimir Marko
Reason for revert: gcstress 1914-get-local-instance failures, object-inl.h:163] Check failed: GetClass<kVerifyNone>() != nullptr Bug: 66903662 This reverts commit a03a9eeb9d1b2ebca17cc326f52c84a5abca6707. Change-Id: I5c68616d61566dd4ade713c4dad5e462b76d9af7
2017-10-10Ensure Proxy frames work with JVMTI stack frame functionsAlex Light
We were incorrectly returning errors and crashing when stack frame JVMTI functions were used with Proxy methods. This fixes those issues and adds a test for them. Bug: 66903662 Test: ./test.py --host -j40 Change-Id: Ia7c768d631c5ac4d8339d70a9d4761d5b4bc284e
2017-07-27Tests for JVMTI can_access_local_variables functionsAlex Light
These are tests for functions gated by can_access_local_variables and other supporting code. Test: ./test.py --host -j50 Bug: 34414073 Bug: 36892980 Change-Id: Iba7e9207683372fbe73510442856553510d90933