Re: RFR: 8260193: Remove JVM_GetInterfaceVersion() and JVM_DTraceXXX [v2]

2021-02-02 Thread Magnus Ihse Bursie
On Mon, 1 Feb 2021 20:10:58 GMT, Ioi Lam wrote: >> - JVM_GetInterfaceVersion() was used by "HotSpot Express" (HSX) which >> allowed the same JDK library to use different version of HotSpot. However, >> HSX is no longer supported so this API should be removed. >> - Implementations of APIs such

Re: JDK-6824466 java.lang.reflect.Method should use java.lang.invoke.MethodHandle

2021-02-02 Thread Alan Bateman
On 01/02/2021 15:19, Johannes Kuhn wrote: : Thanks Rémi. The problem here is that (according to Peter Levart tests), the cold use of a MHMethodAccessor is 11x as expensive as using the native accessor. In some way, it sill makes sense to keep the native accessor around, at least during

Re: RFR: 8259074: regex benchmarks and tests

2021-02-02 Thread Claes Redestad
On Tue, 2 Feb 2021 02:58:30 GMT, Martin Buchholz wrote: >>> A manual exploration of a new set of micros would naturally start with >>> the default config, so if such a config runs forever, that would be poor >>> ergonomics IMHO. I don't think such configurations should be checked in >>> in an

Re: RFR: 8260617: Merge ZipFile encoding check with the initial hash calculation [v4]

2021-02-02 Thread Claes Redestad
> - Merge checkEncoding into the byte[]-based normalizedHash. The latter is > only used from ZipFile.initCEN right after the checkEncoding today, so > verifying this is equivalent is straightforward. > - Factor out the logic to calculate hash, check encoding etc into the > addEntry method to

Re: RFR: 8260617: Merge ZipFile encoding check with the initial hash calculation [v3]

2021-02-02 Thread Claes Redestad
On Sun, 31 Jan 2021 18:05:30 GMT, Lance Andersen wrote: >> Claes Redestad has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Clarify comments, put normal path branch first in UTF8 checkedHash > > Hi Claes > > I gone through your changes a

[jdk16] RFR: 8260927: StringBuilder::insert is incorrect without Compact Strings

2021-02-02 Thread Aleksey Shipilev
Discovered it with ARM32 tier1 tests, which runs with -CompactStrings by default. But the bug is actually generic: $ CONF=linux-x86_64-server-fastdebug make run-test TEST=java/lang/StringBuilder/Insert.java TEST_VM_OPTS="-XX:-CompactStrings" test Insert.insertOffset(): failure

Re: [jdk16] RFR: 8260927: StringBuilder::insert is incorrect without Compact Strings [v2]

2021-02-02 Thread Aleksey Shipilev
> Discovered it with ARM32 tier1 tests, which runs with -CompactStrings by > default. But the bug is actually generic: > > $ CONF=linux-x86_64-server-fastdebug make run-test > TEST=java/lang/StringBuilder/Insert.java TEST_VM_OPTS="-XX:-CompactStrings" > > test Insert.insertOffset(): failure >

Re: [jdk16] RFR: 8260927: StringBuilder::insert is incorrect without Compact Strings [v2]

2021-02-02 Thread Aleksey Shipilev
On Tue, 2 Feb 2021 13:23:16 GMT, Claes Redestad wrote: > Should we add an explicit run with -CompactStrings to the Insert.java test? > That'd have caught this issue sooner - perhaps already by the GA testing. Yes, I thought about the same. Added and re-checked that it catches the failure. (I

Re: RFR: 8253795: Implementation of JEP 391: macOS/AArch64 Port [v6]

2021-02-02 Thread Vladimir Kempik
On Tue, 2 Feb 2021 11:14:12 GMT, Vladimir Kempik wrote: > > > > Hello, hsdis is a separate out-of-tree project and is not part of this > > > > jep. > > > > > > > > > Unless there's something I'm missing it only requires a few lines of > > > change to src/utils/hsdis/makefile (it already has

Re: RFR: 8253795: Implementation of JEP 391: macOS/AArch64 Port [v9]

2021-02-02 Thread Anton Kozlov
> Please review the implementation of JEP 391: macOS/AArch64 Port. > > It's heavily based on existing ports to linux/aarch64, macos/x86_64, and > windows/aarch64. > > Major changes are in: > * src/hotspot/cpu/aarch64: support of the new calling convention (subtasks > JDK-8253817, JDK-8253818)

Re: RFR: 8260860: ProblemList tools/jlink/plugins/CompressorPluginTest.java

2021-02-02 Thread daniel . daugherty
On 2/2/21 2:46 AM, Alan Bateman wrote: On 01/02/2021 22:13, Daniel D.Daugherty wrote: A trivial fix to put tools/jlink/plugins/CompressorPluginTest.java back on the ProblemList. It was removed in error (see the bug for the details). Something fishy here, Sundar ran the test 500 times on the 3

Re: [jdk16] RFR: 8260927: StringBuilder::insert is incorrect without Compact Strings

2021-02-02 Thread Claes Redestad
On Tue, 2 Feb 2021 13:12:53 GMT, Aleksey Shipilev wrote: > Discovered it with ARM32 tier1 tests, which runs with -CompactStrings by > default. But the bug is actually generic: > > $ CONF=linux-x86_64-server-fastdebug make run-test > TEST=java/lang/StringBuilder/Insert.java

Re: [jdk16] RFR: 8260927: StringBuilder::insert is incorrect without Compact Strings [v2]

2021-02-02 Thread Alan Bateman
On Tue, 2 Feb 2021 13:31:58 GMT, Aleksey Shipilev wrote: >> Discovered it with ARM32 tier1 tests, which runs with -CompactStrings by >> default. But the bug is actually generic: >> >> $ CONF=linux-x86_64-server-fastdebug make run-test >> TEST=java/lang/StringBuilder/Insert.java

Re: RFR: 8259570: (macos) tools/jpackage tests fails with 'hdiutil: couldn't eject "disk2" - Resource busy' [v2]

2021-02-02 Thread Alexey Semenyuk
On Tue, 2 Feb 2021 03:59:00 GMT, Alexander Matveev wrote: >> We did not able to run "hdiutil convert" due to hdiutil did not able to >> acquire lock on DMG image file. In this condition we got "Resource busy" >> from "hdiutil detach" and on repeated attempt we was getting "File Not >> Found"

Re: RFR: 8253795: Implementation of JEP 391: macOS/AArch64 Port [v6]

2021-02-02 Thread Alan Hayward
On Tue, 2 Feb 2021 11:56:12 GMT, Vladimir Kempik wrote: > > > > Hello, hsdis is a separate out-of-tree project and is not part of this > > > > jep. > > > > > > > > > Unless there's something I'm missing it only requires a few lines of > > > change to src/utils/hsdis/makefile (it already has

Re: RFR: 8259074: regex benchmarks and tests [v5]

2021-02-02 Thread Claes Redestad
On Tue, 2 Feb 2021 03:07:08 GMT, Martin Buchholz wrote: >> 8259074: regex benchmarks and tests > > Martin Buchholz has updated the pull request incrementally with one > additional commit since the last revision: > > fix imports Marked as reviewed by redestad (Reviewer). - PR:

Re: RFR: 8259570: (macos) tools/jpackage tests fails with 'hdiutil: couldn't eject "disk2" - Resource busy' [v2]

2021-02-02 Thread Andy Herrick
On Tue, 2 Feb 2021 03:59:00 GMT, Alexander Matveev wrote: >> We did not able to run "hdiutil convert" due to hdiutil did not able to >> acquire lock on DMG image file. In this condition we got "Resource busy" >> from "hdiutil detach" and on repeated attempt we was getting "File Not >> Found"

Re: [jdk16] RFR: 8260927: StringBuilder::insert is incorrect without Compact Strings [v2]

2021-02-02 Thread Claes Redestad
On Tue, 2 Feb 2021 13:31:58 GMT, Aleksey Shipilev wrote: >> Discovered it with ARM32 tier1 tests, which runs with -CompactStrings by >> default. But the bug is actually generic: >> >> $ CONF=linux-x86_64-server-fastdebug make run-test >> TEST=java/lang/StringBuilder/Insert.java

Re: JDK-6824466 java.lang.reflect.Method should use java.lang.invoke.MethodHandle

2021-02-02 Thread Johannes Kuhn
Thanks Alan. For using MethodHandles and @CS methods: As far as I remember, MethodHandle is also skipped on a stack walk for security. In my prototype (where I did always use MethodHandles for Method.invoke) MethodHandles.class.findStatic("lookup").invoke(null) did return a Lookup with the

Re: RFR: 8261010: Delete the Netbeans "default" license header

2021-02-02 Thread Prasanta Sadhukhan
On Wed, 3 Feb 2021 04:01:51 GMT, Sergey Bylokhov wrote: > Trivial cleanup, the "default" license header is removed in a few components. Marked as reviewed by psadhukhan (Reviewer). - PR: https://git.openjdk.java.net/jdk/pull/2368

RFR: 8013527: calling MethodHandles.lookup on itself leads to errors

2021-02-02 Thread Mandy Chung
JDK-8013527: calling MethodHandles.lookup on itself leads to errors JDK-8257874: MethodHandle injected invoker doesn't have necessary private access Johannes Kuhn is also a contributor to this patch. A caller-sensitive method can behave differently depending on the identity of its immediate

Integrated: 8260193: Remove JVM_GetInterfaceVersion() and JVM_DTraceXXX

2021-02-02 Thread Ioi Lam
On Mon, 1 Feb 2021 18:40:54 GMT, Ioi Lam wrote: > - JVM_GetInterfaceVersion() was used by "HotSpot Express" (HSX) which allowed > the same JDK library to use different version of HotSpot. However, HSX is no > longer supported so this API should be removed. > - Implementations of APIs such as

Re: RFR: 8260193: Remove JVM_GetInterfaceVersion() and JVM_DTraceXXX [v2]

2021-02-02 Thread Ioi Lam
On Tue, 2 Feb 2021 15:59:47 GMT, Gerard Ziemski wrote: >> Ioi Lam has updated the pull request incrementally with one additional >> commit since the last revision: >> >> fixed macos build > > Marked as reviewed by gziemski (Committer). Thanks @gerard-ziemski @magicus @AlanBateman @lfoltan

Re: RFR: 8261010: Delete the Netbeans "default" license header

2021-02-02 Thread Iris Clark
On Wed, 3 Feb 2021 04:01:51 GMT, Sergey Bylokhov wrote: > Trivial cleanup, the "default" license header is removed in a few components. Trivial removal of template instructions. - Marked as reviewed by iris (Reviewer). PR: https://git.openjdk.java.net/jdk/pull/2368

Re: Trying to fix JDK-8013527 - 1st Prototype

2021-02-02 Thread Mandy Chung
Hi Johannes, I reconsidered the solution I implemented for JDK-8013527 that I mentioned [1].  I finally had the time to get back to this.   I see the merit of your idea to bind directly to an alternate implementation of MethodHandles::lookup taking an additional caller class parameter (but

Re: RFR: 8260193: Remove JVM_GetInterfaceVersion() and JVM_DTraceXXX [v2]

2021-02-02 Thread Ioi Lam
On Tue, 2 Feb 2021 16:00:43 GMT, Gerard Ziemski wrote: >> I am not sure if jni_utils.c is the right file (it defines the `JNU_XXX` >> functions that are used by other shared libraries). >> >> There are other .c files that have trivial `DEF_JNI_OnLoad` functions (e.g., >>

Re: RFR: 8260337: Optimize ImageReader lookup, used by Class.getResource [v2]

2021-02-02 Thread Jim Laskey
Here is the original document (it's available in the jigsaw wiki) How would you like it flushed out? Cheers, -- Jim > On Jan 31, 2021, at 11:40 AM, Jim Laskey wrote: > > I’ve been handing out the original jimage docs on request. Surprisingly, it’s > still accurate. Will dig up on Monday

Re: RFR: 8260193: Remove JVM_GetInterfaceVersion() and JVM_DTraceXXX [v2]

2021-02-02 Thread Gerard Ziemski
On Mon, 1 Feb 2021 20:54:42 GMT, Ioi Lam wrote: >> src/java.base/share/native/libjava/check_version.c line 33: >> >>> 31: DEF_JNI_OnLoad(JavaVM *vm, void *reserved) >>> 32: { >>> 33: return JNI_VERSION_1_2; >> >> This leaves an entire file with one trivial function implementation. Can we

Re: [jdk16] RFR: 8260927: StringBuilder::insert is incorrect without Compact Strings [v2]

2021-02-02 Thread Roger Riggs
On Tue, 2 Feb 2021 13:31:58 GMT, Aleksey Shipilev wrote: >> Discovered it with ARM32 tier1 tests, which runs with -CompactStrings by >> default. But the bug is actually generic: >> >> $ CONF=linux-x86_64-server-fastdebug make run-test >> TEST=java/lang/StringBuilder/Insert.java

Re: [jdk16] RFR: 8260927: StringBuilder::insert is incorrect without Compact Strings [v2]

2021-02-02 Thread Jim Laskey
On Tue, 2 Feb 2021 13:31:58 GMT, Aleksey Shipilev wrote: >> Discovered it with ARM32 tier1 tests, which runs with -CompactStrings by >> default. But the bug is actually generic: >> >> $ CONF=linux-x86_64-server-fastdebug make run-test >> TEST=java/lang/StringBuilder/Insert.java

Re: RFR: 8260193: Remove JVM_GetInterfaceVersion() and JVM_DTraceXXX [v2]

2021-02-02 Thread Gerard Ziemski
On Mon, 1 Feb 2021 20:10:58 GMT, Ioi Lam wrote: >> - JVM_GetInterfaceVersion() was used by "HotSpot Express" (HSX) which >> allowed the same JDK library to use different version of HotSpot. However, >> HSX is no longer supported so this API should be removed. >> - Implementations of APIs such

RFR: 8260934: java/lang/StringBuilder/HugeCapacity.java fails without Compact Strings

2021-02-02 Thread Aleksey Shipilev
$ CONF=linux-x86_64-server-fastdebug make run-test TEST=java/lang/StringBuilder/HugeCapacity.java TEST_VM_OPTS=-XX:-CompactStrings STDERR: java.lang.OutOfMemoryError: Required length exceeds implementation limit at

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v11]

2021-02-02 Thread Mahendra Chhipa
> https://bugs.openjdk.java.net/browse/JDK-8183372 Mahendra Chhipa has updated the pull request incrementally with one additional commit since the last revision: Using testNg Assert instead of assert. - Changes: - all: https://git.openjdk.java.net/jdk/pull/2170/files - new:

Re: RFR: JDK-8260335: [macos] Running app using relative path causes problems

2021-02-02 Thread Alexey Semenyuk
On Wed, 27 Jan 2021 12:43:40 GMT, Andy Herrick wrote: > Fixing FileUtils.dirname() to skip over "/.". Changes requested by asemenyuk (Committer). src/jdk.jpackage/share/native/common/FileUtils.cpp line 57: > 55: tstring dirname(const tstring ) { > 56: tstring::size_type pos; > 57: if

RFR: 8261010: Delete the Netbeans "default" license header

2021-02-02 Thread Sergey Bylokhov
Trivial cleanup, the "default" license header is removed in a few components. - Commit messages: - Initial fix Changes: https://git.openjdk.java.net/jdk/pull/2368/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk=2368=00 Issue:

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v12]

2021-02-02 Thread Mahendra Chhipa
> https://bugs.openjdk.java.net/browse/JDK-8183372 Mahendra Chhipa has updated the pull request incrementally with one additional commit since the last revision: Generate the source files in JTWork directory. - Changes: - all: https://git.openjdk.java.net/jdk/pull/2170/files

Re: RFR: 8253795: Implementation of JEP 391: macOS/AArch64 Port [v6]

2021-02-02 Thread Vladimir Kempik
On Mon, 1 Feb 2021 14:06:32 GMT, Magnus Ihse Bursie wrote: >>> Hello, hsdis is a separate out-of-tree project and is not part of this jep. >> >> Unless there's something I'm missing it only requires a few lines of change >> to src/utils/hsdis/makefile (it already has support for macos x86_64)

Re: RFR: 8253795: Implementation of JEP 391: macOS/AArch64 Port [v9]

2021-02-02 Thread Bernhard Urban-Forster
On Tue, 2 Feb 2021 18:23:04 GMT, Gerard Ziemski wrote: >> Anton Kozlov has updated the pull request incrementally with one additional >> commit since the last revision: >> >> support macos_aarch64 in hsdis > > src/hotspot/os/posix/signals_posix.cpp line 1297: > >> 1295: kern_return_t kr;

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v3]

2021-02-02 Thread Brent Christian
On Wed, 27 Jan 2021 23:03:55 GMT, Mahendra Chhipa wrote: >> test/jdk/java/lang/Class/getEnclosingClass/EnclosingClassTest.java line 126: >> >>> 124: Path pkg1Dir = Paths.get(SRC_DIR + "/pkg1"); >>> 125: FileUtils.deleteFileTreeWithRetry(pkg1Dir); >>> 126: } >> >> I'm not

Re: RFR: 8260356: (tz) Upgrade time-zone data to tzdata2021a

2021-02-02 Thread Naoto Sato
On Tue, 2 Feb 2021 17:22:18 GMT, Kiran Sidhartha Ravikumar wrote: > Hi Guys, > > Please review integrating tzdata2021a to JDK. > > JBS: https://bugs.openjdk.java.net/browse/JDK-8260356 > > The fix has passed the regression and JCK tests. More information can be > viewed at - >

Re: [jdk16] RFR: 8260927: StringBuilder::insert is incorrect without Compact Strings [v2]

2021-02-02 Thread Aleksey Shipilev
On Tue, 2 Feb 2021 15:32:16 GMT, Jim Laskey wrote: >> Aleksey Shipilev has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Add the regression test case > > Marked as reviewed by jlaskey (Reviewer). Thanks. GHA are green, `tier1`, `tier2`

Re: RFR: JDK-8260335: [macos] Running app using relative path causes problems

2021-02-02 Thread Alexander Zuev
On Wed, 27 Jan 2021 12:43:40 GMT, Andy Herrick wrote: > Fixing FileUtils.dirname() to skip over "/.". Aside of small change requested by @alexeysemenyukoracle looks fine. - Marked as reviewed by kizune (Reviewer). PR: https://git.openjdk.java.net/jdk/pull/2260

[jdk16] Integrated: 8260927: StringBuilder::insert is incorrect without Compact Strings

2021-02-02 Thread Aleksey Shipilev
On Tue, 2 Feb 2021 13:12:53 GMT, Aleksey Shipilev wrote: > Discovered it with ARM32 tier1 tests, which runs with -CompactStrings by > default. But the bug is actually generic: > > $ CONF=linux-x86_64-server-fastdebug make run-test > TEST=java/lang/StringBuilder/Insert.java

RFR: 8260959: remove RECORDS from PreviewFeature.Feature enum

2021-02-02 Thread Vicente Romero
Please review this simple fix that is removing the RECORDS enum constant from the PreviewFeature.Feature enum, now that RECORDS are final in 16 this constant can be safely removed. Thanks, Vicente - Commit messages: - 8260959: remove RECORDS from PreviewFeature.Feature enum

Re: RFR: 8253795: Implementation of JEP 391: macOS/AArch64 Port [v9]

2021-02-02 Thread Gerard Ziemski
On Tue, 2 Feb 2021 18:52:29 GMT, Gerard Ziemski wrote: >> Anton Kozlov has updated the pull request incrementally with one additional >> commit since the last revision: >> >> support macos_aarch64 in hsdis > > Changes requested by gziemski (Committer). There were bunch of assembly code that

RFR: 8260356: (tz) Upgrade time-zone data to tzdata2021a

2021-02-02 Thread Kiran Sidhartha Ravikumar
Hi Guys, Please review integrating tzdata2021a to JDK. JBS: https://bugs.openjdk.java.net/browse/JDK-8260356 The fix has passed the regression and JCK tests. More information can be viewed at - https://mm.icann.org/pipermail/tz-announce/2021-January/65.html Thanks, Kiran -

Re: RFR: JDK-8260335: [macos] Running app using relative path causes problems [v2]

2021-02-02 Thread Andy Herrick
> Fixing FileUtils.dirname() to skip over "/.". Andy Herrick has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 86 additional commits since the last

Re: RFR: JDK-8260335: [macos] Running app using relative path causes problems [v2]

2021-02-02 Thread Andy Herrick
On Tue, 2 Feb 2021 17:10:15 GMT, Alexey Semenyuk wrote: >> Andy Herrick has updated the pull request with a new target base due to a >> merge or a rebase. The incremental webrev excludes the unrelated changes >> brought in by the merge/rebase. The pull request contains 86 additional >>

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v12]

2021-02-02 Thread Brent Christian
On Tue, 2 Feb 2021 21:00:00 GMT, Mahendra Chhipa wrote: >> https://bugs.openjdk.java.net/browse/JDK-8183372 > > Mahendra Chhipa has updated the pull request incrementally with one > additional commit since the last revision: > > Generate the source files in JTWork directory. Looks good.

Integrated: JDK-8183372 : Refactor java/lang/Class shell tests to java

2021-02-02 Thread Mahendra Chhipa
On Wed, 20 Jan 2021 17:27:43 GMT, Mahendra Chhipa wrote: > https://bugs.openjdk.java.net/browse/JDK-8183372 This pull request has now been integrated. Changeset: 6dc3c6dc Author:Mahendra Chhipa Committer: Brent Christian URL: https://git.openjdk.java.net/jdk/commit/6dc3c6dc Stats:

Integrated: JDK-8261003 : Bad Copyright header format after JDK-8183372

2021-02-02 Thread Mahendra Chhipa
On Tue, 2 Feb 2021 22:08:33 GMT, Mahendra Chhipa wrote: > JDK-8261003 : Bad Copyright header format after JDK-8183372 This pull request has now been integrated. Changeset: 9af33392 Author:Mahendra Chhipa Committer: Brent Christian URL:

Re: Integrated: JDK-8261003 : Bad Copyright header format after JDK-8183372

2021-02-02 Thread Brent Christian
On Tue, 2 Feb 2021 22:08:33 GMT, Mahendra Chhipa wrote: > JDK-8261003 : Bad Copyright header format after JDK-8183372 Marked as reviewed by bchristi (Reviewer). - PR: https://git.openjdk.java.net/jdk/pull/2365

Re: RFR: 8260617: Merge ZipFile encoding check with the initial hash calculation [v4]

2021-02-02 Thread Lance Andersen
On Tue, 2 Feb 2021 10:40:01 GMT, Claes Redestad wrote: >> - Merge checkEncoding into the byte[]-based normalizedHash. The latter is >> only used from ZipFile.initCEN right after the checkEncoding today, so >> verifying this is equivalent is straightforward. >> - Factor out the logic to

Integrated: JDK-8261003 : Bad Copyright header format after JDK-8183372

2021-02-02 Thread Mahendra Chhipa
JDK-8261003 : Bad Copyright header format after JDK-8183372 - Commit messages: - JDK-8261003 : Bad Copyright header format after JDK-8183372 Changes: https://git.openjdk.java.net/jdk/pull/2365/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk=2365=00 Issue:

RFR: 8260621: Avoid memory leak in ImageBufferCache

2021-02-02 Thread Bo Zhang
Previously, `ImageBufferCache` contains a ThreadLocal field which holds strong reference to `ImageBufferCache$BufferReference.class`. When loaded from `jrt-fs.jar`, this will keep `JrtFileSystemProvider$JrtFsLoader` in memory forever and never being GCed. The fix replace the old

Re: RFR: 8253795: Implementation of JEP 391: macOS/AArch64 Port [v9]

2021-02-02 Thread Daniel D . Daugherty
On Tue, 2 Feb 2021 11:59:08 GMT, Anton Kozlov wrote: >> Please review the implementation of JEP 391: macOS/AArch64 Port. >> >> It's heavily based on existing ports to linux/aarch64, macos/x86_64, and >> windows/aarch64. >> >> Major changes are in: >> * src/hotspot/cpu/aarch64: support of the

Integrated: 8259570: (macos) tools/jpackage tests fails with 'hdiutil: couldn't eject "disk2" - Resource busy'

2021-02-02 Thread Alexander Matveev
On Mon, 1 Feb 2021 23:41:38 GMT, Alexander Matveev wrote: > We did not able to run "hdiutil convert" due to hdiutil did not able to > acquire lock on DMG image file. In this condition we got "Resource busy" from > "hdiutil detach" and on repeated attempt we was getting "File Not Found" >

Re: RFR: 8260621: Avoid memory leak in ImageBufferCache [v2]

2021-02-02 Thread Bo Zhang
> Previously, `ImageBufferCache` contains a ThreadLocal field which holds > strong reference to `ImageBufferCache$BufferReference.class`. When loaded > from `jrt-fs.jar`, this will keep `JrtFileSystemProvider$JrtFsLoader` > in memory forever and never being GCed. > > The fix replace the old