OSDN Git Service

unstarted_runtime: Add additional cutouts
authorNarayan Kamath <narayan@google.com>
Wed, 30 Mar 2016 12:11:18 +0000 (13:11 +0100)
committerNarayan Kamath <narayan@google.com>
Fri, 1 Apr 2016 11:25:47 +0000 (11:25 +0000)
commit34a316fa8b08d7b818c73ba8fd606a92b1e632ad
treed29b84e3ec39cf10c1056721e1556c80d3ef5869
parentafc4829d593c173e8e9bdca90257a4cc8a104537
unstarted_runtime: Add additional cutouts

These allow us to initialize a further 90 classes. getIntVolatile
was used by the static initializer for ThreadLocal, which is used
quite frequently. This class was compile time initializable for M.

java.lang.System.getSecurityManager : 5 classes
sun.misc.Unsafe.getIntVolatile : 85 classes

bug: 27265238
Change-Id: I7e9820112bc87aec47c9b1b40ec6ba4f56172916
runtime/interpreter/unstarted_runtime.cc
runtime/interpreter/unstarted_runtime_list.h