8357249: Compiler task keeps --system files open#2377
Conversation
|
👋 Welcome back dbeaumont! A progress list of the required criteria for merging this PR into |
|
❗ This change is not yet ready to be integrated. |
|
@david-beaumont this pull request can not be integrated into git checkout JDK_8357249_refactor
git fetch https://git.openjdk.org/valhalla.git lworld
git merge FETCH_HEAD
# resolve conflicts and follow the instructions given by git merge
git commit -m "Merge lworld"
git push |
|
@david-beaumont This pull request has been inactive for more than 8 weeks and will be automatically closed if another 8 weeks passes without any activity. To avoid this, simply issue a |
Version of #2374 which rewrites the initialization to clarify the way buffers are used. This class is historically very complex and, in mainline, contains issues around whether files should or should not be memory mapped, and how much of the file exists in the "memoryMap" field (which may not even be a memory mapped buffer).
Now, if non-null, the memoryMap field only contains the entire buffer that's mapped.
Under all other circumstances, the channel exists and is used to read buffer entries piecemeal.
This makes reasoning about who owns the buffer and how its lifecycle is managed much easier and makes it clear that non-runtime (target) images are only ever loaded piecemeal to avoid opening a memory mapped file.
Progress
Issue
Backport <hash>with the hash of the original commit. See Backports.Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/valhalla.git pull/2377/head:pull/2377$ git checkout pull/2377Update a local copy of the PR:
$ git checkout pull/2377$ git pull https://git.openjdk.org/valhalla.git pull/2377/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 2377View PR using the GUI difftool:
$ git pr show -t 2377Using diff file
Download this PR as a diff file:
https://git.openjdk.org/valhalla/pull/2377.diff