commit | cffb747d6b292f07230c3a5fd06527e52dee5383 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Mon Sep 28 10:33:00 2015 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Mon Sep 28 10:46:24 2015 -0700 |
tree | 3ed969fbf2187cfd14474dceaf7a2b20baecf42c | |
parent | 85e5207ef094f99081539333bd868ce721c6fd73 [diff] |
Don't unload shared libraries for null class loader. If we load a shared library in the boot class loader (null), then we create the SharedLibrary with a null class loader. We shouldn't unload this shared library if the class loader decodes to null since it may still be in use. Fixes some hangs in gcstress tests. Bug: 22720414 Change-Id: I52eca4cdba2c5ddd8e3dc7d133d253e5626c5b44