Usage of thread-safe collection Vector is unnecessary. It's recommended to use
ArrayList/array if a thread-safe implementation is not needed. In
post-BiasedLocking times, this is gets worse, as every access is synchronized.
I checked only places where Vector was used as local variable.
-
On Fri, 27 Aug 2021 23:12:52 GMT, Ioi Lam wrote:
> When the classlist is generated using build.tools.classlist.HelloClasslist,
> its contents may be non-deterministic due to Java thread execution order.
>
> We should sort the generated classlist to make the JDK image's contents more
> determin
Refactor to improve inlining, which helps some microbenchmarks exer
StringBuilder.append(String)
-
Commit messages:
- 8273100: Improve AbstractStringBuilder.append(String) when using
CompactStrings
Changes: https://git.openjdk.java.net/jdk/pull/5291/files
Webrev: https://webrevs.
On Sat, 28 Aug 2021 13:21:24 GMT, Claes Redestad wrote:
> Refactor to improve inlining, which helps some microbenchmarks exer
> StringBuilder.append(String)
Microbenchmark results:
Baseline
BenchmarkMode CntScore Error Units
# +CompactStrings
StringBuilders.appendL
On 28/08/2021 05:45, Jaikiran Pai wrote:
I hadn't considered the system property approach to switch to old
behaviour in my proposals, so this is a very good input and I
personally think the most logical proposals so far.
Roger may be right that few would care but it would be changing behavior
Putting the information how to do this together. Trying to get an existing
jpackaged app, that is not signed and is not distributed in the app
store, to ask for mike permissions. Does not ever ask for permissions.
Not sure how this differs from IntelliJ (which does successfully ask for
permissions