summaryrefslogtreecommitdiff
path: root/compiler/optimizing/codegen_test_utils.h
diff options
context:
space:
mode:
authorAlex Light <allight@google.com>2017-09-22 15:33:41 -0700
committerAlex Light <allight@google.com>2017-09-25 11:35:38 -0700
commit7ddc23d9ea95848724754eae270a0a1ce108edb9 (patch)
tree3d68e2745d0be0cdf95c05d45edc94859f1438ac /compiler/optimizing/codegen_test_utils.h
parentba461c3c5b588b0b65d3cc99aa12fe46a673962c (diff)
Consolidate all JVMTI jthread decoding.
We had multiple places where we would decode jthreads. This meant that we did not always check all required constraints before using it. This CL consolidates all jthread decoding into the ThreadUtil::GetNativeThread function and adds a helper ThreadUtil::GetAliveNativeThread function to check the most common requirements on jthreads passed to JVMTI. Bug: 66709480 Test: ./test.py --host -j50 Test: cd openjdkjvmti && git grep -W FromManagedThread Change-Id: Ib6f4bc8510012e0332831bea67e1842a49092917
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions