OSDN Git Service

Always fill in root table length
authorMathieu Chartier <mathieuc@google.com>
Tue, 22 Nov 2016 21:24:40 +0000 (13:24 -0800)
committerMathieu Chartier <mathieuc@google.com>
Tue, 22 Nov 2016 21:30:47 +0000 (13:30 -0800)
commit7a704bea1b1ff1e7deb903513997e0f35040287b
treee94262da7f17cc3ffd4e7a8df337cbd96f62da0b
parentc394d0558de9afff6ab8b87ae9706497e01f37ff
Always fill in root table length

Otherwise, there may be DCHECK failure in JitCodeCache::ClearData.
Fixes gcstress JIT tests.

Test: test/run-test --host --relocate --prebuild  --64 --jit --gcstress --dev 021-string2

Change-Id: I757ccd1e5a015c5e686254417a2a3f68b650da1c
runtime/jit/jit_code_cache.cc