commit | 185d134a3b43ab7529053e965917e0fa74bceba4 | [log] [tgz] |
---|---|---|
author | Alex Light <allight@google.com> | Thu Aug 11 10:48:03 2016 -0700 |
committer | Alex Light <allight@google.com> | Thu Aug 11 13:55:03 2016 -0700 |
tree | 5d3d0cee3aa4c64fc5f36fd5f648e53f6df984ae | |
parent | 7233c7e752c0d26387d143ee74420e9cd1f09390 [diff] |
Add basic runtime-plugins support. This allows one to pass shared-libraries on the command line that the runtime will load as plugins. They have access to runtime code and can install hooks to add functionality. Currently the only hook they can touch is JavaVMExt::AddEnvironmentHook to register a callback for GetEnv(). More hooks might be added in the future. Test: ./test/run-test 900 Change-Id: I852b4daf5a3fa71e9888722bc07794632c0e5010