diff options
| author | 2021-05-27 11:35:44 -0700 | |
|---|---|---|
| committer | 2021-06-16 16:52:52 +0000 | |
| commit | f667c33fc88356aa80d455430752719aaae57717 (patch) | |
| tree | ab752c06377a4db0855b307f8d9b806065820794 /libnativeloader/library_namespaces.cpp | |
| parent | 319333f6ea3408b8c99bd9c644f0f34b66fe31b8 (diff) | |
Avoid opening BCP jars if the corresponding FDs exist
With -Xbootclasspathfds, we already have the FD available in the
runtime. When loading a BCP oat, it also needs to check the
corresponding BCP jar. When the jar's FD is available, this change
avoids the open by path.
Bug: 187327262
Test: odrefresh --force-compile # success
Test: strace # no more open for such case
Change-Id: I8c488254d9bf923a2e181f578c9ed167cd75335c
Diffstat (limited to 'libnativeloader/library_namespaces.cpp')
0 files changed, 0 insertions, 0 deletions