OSDN Git Service

Pad the page containing ARM code in the JIT code cache to work around a CPU bug.
authorBen Cheng <bccheng@android.com>
Wed, 10 Mar 2010 21:12:55 +0000 (13:12 -0800)
committerBen Cheng <bccheng@android.com>
Wed, 10 Mar 2010 21:18:35 +0000 (13:18 -0800)
commit72621c9d3c175b0f9b239de5b0bcd83c7e5984e8
tree84262ce48cbf82cfc69cf7e642d1a527b8dc962f
parent33a939f4c016698866b495c5e752e8c16ccef0b3
Pad the page containing ARM code in the JIT code cache to work around a CPU bug.

Bug: 2501147

Verified with seeing the following line in the log. The 4096 number confirms
that the ARM handler code is using a full page.

D/dalvikvm(  369): 21 compilations using 4096 + 1288 bytes

Change-Id: I89e1473ce9a4353f58f740e1c86d358d3fec33b2
vm/compiler/Compiler.c
vm/interp/Jit.c