commit | f667c33fc88356aa80d455430752719aaae57717 | [log] [tgz] |
---|---|---|
author | Victor Hsieh <victorhsieh@google.com> | Thu May 27 11:35:44 2021 -0700 |
committer | Treehugger Robot <treehugger-gerrit@google.com> | Wed Jun 16 16:52:52 2021 +0000 |
tree | ab752c06377a4db0855b307f8d9b806065820794 | |
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