diff options
author | Alex Light <allight@google.com> | 2019-09-18 15:04:53 -0700 |
---|---|---|
committer | Alex Light <allight@google.com> | 2019-09-18 22:15:02 +0000 |
commit | fb11957a861bc2230773e74e969b45a92d4f587b (patch) | |
tree | 9606da919e810fbb2f11633c93b6d43dc27700bb /test/ProfileTestMultiDex/main.jpp | |
parent | c2c5948696ca128d862bf837472aacd4c28ce551 (diff) |
Fixed issue in structural redefinition around class init
On non-x86 ISAs class initialization is two stage with a class first
being 'kInitialized' and later being 'kVisiblyInitialized'. This has
to do with the memory model of non-x86 ISAs. Because we did not follow
this process correctly we could hit check-failures on non-x86 targets
if the redefined class was not fully initialized when being redefined.
To fix this we force the class-linker to bring the initialization
state of the newly created class all the way to visibly initialized
before allowing the redefinition to take place.
Test: ./test.py --target
Bug: 134162467
Bug: 141236848
Change-Id: I466861270b957a0fe6a90bda0bdabece950f99b2
Diffstat (limited to 'test/ProfileTestMultiDex/main.jpp')
0 files changed, 0 insertions, 0 deletions