Re: RFR: 6595142: (spec) ByteArrayInputStream treats bytes, not characters

2023-02-09 Thread Alan Bateman
On Fri, 10 Feb 2023 02:11:35 GMT, Brian Burkhalter wrote: > Replace the two occurrences of `character` with `byte`. Looks okay, I assume you've done a wider search to see if there are any more. - Marked as reviewed by alanb (Reviewer). PR: https://git.openjdk.org/jdk/pull/12505

Re: RFR: 8301737: java/rmi/server/UnicastRemoteObject/serialFilter/FilterUROTest.java fail with -Xcomp [v5]

2023-02-09 Thread SUN Guoyun
> Hi all, > When -Xcomp be used, this testcase will use more codecaches, causing the GC > to be triggered early, then causing this test failed on LoongArch64 > architecture. > > This PR fix the issue, Please help review it. > > Thanks. SUN Guoyun has updated the pull request incrementally

RFR: 6595142: (spec) ByteArrayInputStream treats bytes, not characters

2023-02-09 Thread Brian Burkhalter
Replace the two occurrences of `character` with `byte`. - Commit messages: - 6595142: (spec) ByteArrayInputStream treats bytes, not characters Changes: https://git.openjdk.org/jdk/pull/12505/files Webrev: https://webrevs.openjdk.org/?repo=jdk=12505=00 Issue:

Re: RFR: 8301737: java/rmi/server/UnicastRemoteObject/serialFilter/FilterUROTest.java fail with -Xcomp [v4]

2023-02-09 Thread SUN Guoyun
On Thu, 9 Feb 2023 16:54:42 GMT, Roger Riggs wrote: >> SUN Guoyun has updated the pull request incrementally with one additional >> commit since the last revision: >> >> 8301737: >> java/rmi/server/UnicastRemoteObject/serialFilter/FilterUROTest.java fail >> with -Xcomp > >

Integrated: 8293198: [vectorapi] Improve the implementation of VectorMask.indexInRange()

2023-02-09 Thread Xiaohong Gong
On Wed, 18 Jan 2023 08:58:42 GMT, Xiaohong Gong wrote: > The Vector API `"indexInRange(int offset, int limit)"` is used > to compute a vector mask whose lanes are set to true if the > index of the lane is inside the range specified by the `"offset"` > and `"limit"` arguments, otherwise the lanes

Re: RFR: 8293198: [vectorapi] Improve the implementation of VectorMask.indexInRange() [v2]

2023-02-09 Thread Xiaohong Gong
On Mon, 6 Feb 2023 17:39:42 GMT, Paul Sandoz wrote: >> Xiaohong Gong has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Add smaller array size for benchmark tests > > I think it would be useful to adjust the naming and comments of some

Re: RFR: 8293198: [vectorapi] Improve the implementation of VectorMask.indexInRange() [v3]

2023-02-09 Thread Paul Sandoz
On Tue, 7 Feb 2023 09:51:19 GMT, Xiaohong Gong wrote: >> The Vector API `"indexInRange(int offset, int limit)"` is used >> to compute a vector mask whose lanes are set to true if the >> index of the lane is inside the range specified by the `"offset"` >> and `"limit"` arguments, otherwise the

Re: RFR: JDK-8300808: Accelerate Base64 on x86 for AVX2 [v15]

2023-02-09 Thread Scott Gibbons
On Thu, 9 Feb 2023 18:08:15 GMT, Scott Gibbons wrote: >> Added code for Base64 acceleration (encode and decode) which will accelerate >> ~4x for AVX2 platforms. >> >> Encode performance: >> **Old:** >> >> Benchmark (maxNumBytes) Mode Cnt Score Error >> Units

Re: RFR: 8301269: Update Commons BCEL to Version 6.7.0

2023-02-09 Thread Lance Andersen
On Wed, 8 Feb 2023 00:15:27 GMT, Joe Wang wrote: > Update Commons BCEL in the JDK from 6.5.0 to 6.7.0. > > 1. Improvement >Code modernization (using relatively more modern language features), > normalization (such as naming), javadocs, cleanup and minor improvements made > up most of the

Re: RFR: 8300139 : [AIX] Use pthreads to avoid JNI_createVM call from primordial thread [v2]

2023-02-09 Thread David Holmes
On Thu, 9 Feb 2023 11:03:44 GMT, Varada M wrote: > These tests is passing without adding lpthread in JtregNativeHotspot.gmk. Do > I need to update the makefile? I'm somewhat surprised that the tests pass without explicit linkage, but perhaps libpthread is a default on AIX. If things are

Re: RFR: 8294961: java.base java.lang.reflect.ProxyGenerator uses ASM to generate proxy classes [v2]

2023-02-09 Thread Adam Sotona
On Wed, 8 Feb 2023 00:37:57 GMT, Mandy Chung wrote: >> Adam Sotona 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 four additional >> commits

Re: RFR: 8294961: java.base java.lang.reflect.ProxyGenerator uses ASM to generate proxy classes [v3]

2023-02-09 Thread Adam Sotona
> java.base java.lang.reflect.ProxyGenerator uses ASM to generate proxy classes > and this patch converts it to use Classfile API. > > This pull request suppose to chain on the 8294982: Implementation of > Classfile API https://github.com/openjdk/jdk/pull/10982 > > Please review. > > Thank

Re: RFR: 8294961: java.base java.lang.reflect.ProxyGenerator uses ASM to generate proxy classes [v2]

2023-02-09 Thread Adam Sotona
On Wed, 8 Feb 2023 00:38:23 GMT, Mandy Chung wrote: >> Adam Sotona 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 four additional >> commits

Re: RFR: 8302154: Hidden classes created by LambdaMetaFactory can't be unloaded [v2]

2023-02-09 Thread Volker Simonis
> Prior to > [JDK-8239384](https://bugs.openjdk.org/browse/JDK-8239384)/[JDK-8238358](https://bugs.openjdk.org/browse/JDK-8238358) > LambdaMetaFactory has created VM-anonymous classes which could easily be > unloaded once they were not referenced any more. Starting with JDK 15 and the > new

Re: RFR: 8302154: Hidden classes created by LambdaMetaFactory can't be unloaded

2023-02-09 Thread Mandy Chung
On Thu, 9 Feb 2023 15:20:23 GMT, Volker Simonis wrote: > Prior to > [JDK-8239384](https://bugs.openjdk.org/browse/JDK-8239384)/[JDK-8238358](https://bugs.openjdk.org/browse/JDK-8238358) > LambdaMetaFactory has created VM-anonymous classes which could easily be > unloaded once they were not

Re: RFR: JDK-8300808: Accelerate Base64 on x86 for AVX2 [v15]

2023-02-09 Thread Scott Gibbons
> Added code for Base64 acceleration (encode and decode) which will accelerate > ~4x for AVX2 platforms. > > Encode performance: > **Old:** > > Benchmark (maxNumBytes) Mode Cnt Score Error > Units > Base64Encode.testBase64Encode 1024 thrpt3

Re: RFR: 8302154: Hidden classes created by LambdaMetaFactory can't be unloaded

2023-02-09 Thread Mandy Chung
On Thu, 9 Feb 2023 15:20:23 GMT, Volker Simonis wrote: > 4. the lambda proxy class has the strong relationship with the class loader > (that will share the VM metaspace for its defining loader - implementation > details) A lambda proxy class is the implementation of the lambda/method

Re: RFR: 8294982: Implementation of Classfile API [v16]

2023-02-09 Thread Adam Sotona
> This is root pull request with Classfile API implementation, tests and > benchmarks initial drop into JDK. > > Following pull requests consolidating JDK class files parsing, generating, > and transforming ([JDK-8294957](https://bugs.openjdk.org/browse/JDK-8294957)) > will chain to this one.

Re: RFR: JDK-8300808: Accelerate Base64 on x86 for AVX2 [v14]

2023-02-09 Thread Scott Gibbons
> Added code for Base64 acceleration (encode and decode) which will accelerate > ~4x for AVX2 platforms. > > Encode performance: > **Old:** > > Benchmark (maxNumBytes) Mode Cnt Score Error > Units > Base64Encode.testBase64Encode 1024 thrpt3

Re: RFR: 8294982: Implementation of Classfile API [v12]

2023-02-09 Thread Adam Sotona
On Tue, 7 Feb 2023 11:48:52 GMT, Maurizio Cimadamore wrote: >> Yes, performance is the main reason. >> I'll note to do a fresh differential performance benchmarks with a HashMap. > > thanks I tried HashMap with String keys and it cause performance regressions, however with Utf8Entry

Re: RFR: 8302154: Hidden classes created by LambdaMetaFactory can't be unloaded

2023-02-09 Thread Volker Simonis
On Thu, 9 Feb 2023 15:47:31 GMT, Jorn Vernee wrote: > Your analysis in the JBS issue seems reasonable, but I'll wait for Mandy to > respond here. > > I looked at the original PR and don't see a discussion of `STRONG` there, but > I very vaguely remember it being talked about as being needed

Re: RFR: 8302154: Hidden classes created by LambdaMetaFactory can't be unloaded

2023-02-09 Thread Volker Simonis
On Thu, 9 Feb 2023 15:45:35 GMT, Jorn Vernee wrote: >> Prior to >> [JDK-8239384](https://bugs.openjdk.org/browse/JDK-8239384)/[JDK-8238358](https://bugs.openjdk.org/browse/JDK-8238358) >> LambdaMetaFactory has created VM-anonymous classes which could easily be >> unloaded once they were not

Re: RFR: 8301737: java/rmi/server/UnicastRemoteObject/serialFilter/FilterUROTest.java fail with -Xcomp [v4]

2023-02-09 Thread Roger Riggs
On Thu, 9 Feb 2023 08:48:17 GMT, SUN Guoyun wrote: >> Hi all, >> When -Xcomp be used, this testcase will use more codecaches, causing the GC >> to be triggered early, then causing this test failed on LoongArch64 >> architecture. >> >> This PR fix the issue, Please help review it. >> >>

Re: RFR: 8301578: Perform output outside synchronization in Module.class [v6]

2023-02-09 Thread Per Minborg
> This PR proposed to reduce contention in synchronized methods mainly by doing > I/O operations outside synch blocks. Per Minborg has updated the pull request incrementally with one additional commit since the last revision: Undo more unintended edits - Changes: - all:

Re: RFR: 8301578: Perform output outside synchronization in Module.class [v5]

2023-02-09 Thread Per Minborg
> This PR proposed to reduce contention in synchronized methods mainly by doing > I/O operations outside synch blocks. Per Minborg has updated the pull request incrementally with two additional commits since the last revision: - Fix things from PR comments - Undo unintended changes

Re: RFR: 8301578: Perform output outside synchronization in Module.class [v4]

2023-02-09 Thread Per Minborg
On Thu, 9 Feb 2023 15:19:38 GMT, Alan Bateman wrote: >> Per Minborg has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Use Unsafe instead of synchronized > > src/java.base/share/classes/java/lang/Module.java line 120: > >> 118: //

Re: RFR: 8302154: Hidden classes created by LambdaMetaFactory can't be unloaded

2023-02-09 Thread Jorn Vernee
On Thu, 9 Feb 2023 15:20:23 GMT, Volker Simonis wrote: > Prior to > [JDK-8239384](https://bugs.openjdk.org/browse/JDK-8239384)/[JDK-8238358](https://bugs.openjdk.org/browse/JDK-8238358) > LambdaMetaFactory has created VM-anonymous classes which could easily be > unloaded once they were not

Re: RFR: 8301578: Perform output outside synchronization in Module.class [v4]

2023-02-09 Thread Alan Bateman
On Thu, 9 Feb 2023 15:05:13 GMT, Per Minborg wrote: >> This PR proposed to reduce contention in synchronized methods mainly by >> doing I/O operations outside synch blocks. > > Per Minborg has updated the pull request incrementally with one additional > commit since the last revision: > >

RFR: 8302154: Hidden classes created by LambdaMetaFactory can't be unloaded

2023-02-09 Thread Volker Simonis
Prior to [JDK-8239384](https://bugs.openjdk.org/browse/JDK-8239384)/[JDK-8238358](https://bugs.openjdk.org/browse/JDK-8238358) LambdaMetaFactory has created VM-anonymous classes which could easily be unloaded once they were not referenced any more. Starting with JDK 15 and the new "hidden

Re: RFR: 8294982: Implementation of Classfile API [v15]

2023-02-09 Thread Maurizio Cimadamore
On Thu, 9 Feb 2023 08:44:41 GMT, Adam Sotona wrote: >> This is root pull request with Classfile API implementation, tests and >> benchmarks initial drop into JDK. >> >> Following pull requests consolidating JDK class files parsing, generating, >> and transforming >>

Re: RFR: 8301578: Perform output outside synchronization in Module.class [v3]

2023-02-09 Thread Per Minborg
On Wed, 1 Feb 2023 08:51:16 GMT, Per Minborg wrote: >> This PR proposed to reduce contention in synchronized methods mainly by >> doing I/O operations outside synch blocks. > > Per Minborg has updated the pull request incrementally with three additional > commits since the last revision: > >

Re: RFR: 8301578: Perform output outside synchronization in Module.class [v4]

2023-02-09 Thread Per Minborg
> This PR proposed to reduce contention in synchronized methods mainly by doing > I/O operations outside synch blocks. Per Minborg has updated the pull request incrementally with one additional commit since the last revision: Use Unsafe instead of synchronized - Changes: -

Re: RFR: 8294982: Implementation of Classfile API [v15]

2023-02-09 Thread Maurizio Cimadamore
On Thu, 9 Feb 2023 12:57:19 GMT, Maurizio Cimadamore wrote: >> Adam Sotona has updated the pull request incrementally with one additional >> commit since the last revision: >> >> AttributeElement.Kind removal (#48) > >

Re: RFR: 8294982: Implementation of Classfile API [v15]

2023-02-09 Thread Maurizio Cimadamore
On Thu, 9 Feb 2023 08:44:41 GMT, Adam Sotona wrote: >> This is root pull request with Classfile API implementation, tests and >> benchmarks initial drop into JDK. >> >> Following pull requests consolidating JDK class files parsing, generating, >> and transforming >>

Re: RFR: 8300139 : [AIX] Use pthreads to avoid JNI_createVM call from primordial thread [v4]

2023-02-09 Thread Thomas Stuefe
On Thu, 9 Feb 2023 13:46:05 GMT, Varada M wrote: >> 1. test/jdk/jni/nullCaller/NullCallerTest.java >> 2. test/jdk/java/lang/reflect/exeCallerAccessTest/CallerAccessTest.java >> 3. test/hotspot/jtreg/runtime/jni/CalleeSavedRegisters/FPRegs.java >> >> The above tests were blocked on AIX

Re: RFR: 8300139 : [AIX] Use pthreads to avoid JNI_createVM call from primordial thread [v4]

2023-02-09 Thread Varada M
On Thu, 9 Feb 2023 11:30:11 GMT, Thomas Stuefe wrote: >> Varada M has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Fixes > > test/jdk/jni/nullCaller/exeNullCallerTest.cpp line 159: > >> 157: } >> 158: >> 159: int main(int argc, char**

Re: RFR: 8301552: Use AtomicReferenceArray for caching instead of CHM in ZoneOffset [v8]

2023-02-09 Thread Per Minborg
> `ZoneOffset` instances are cached by the `ZoneOffset` class itself for values > in the range [-18h, 18h] for each second that is on an even quarter of an > hour (i.e. at most 2*18*4+1 = 145 values). > > Instead of using a `ConcurrentHashMap` for caching instanced, we could > instead use an

Re: RFR: 8300139 : [AIX] Use pthreads to avoid JNI_createVM call from primordial thread [v4]

2023-02-09 Thread Varada M
> 1. test/jdk/jni/nullCaller/NullCallerTest.java > 2. test/jdk/java/lang/reflect/exeCallerAccessTest/CallerAccessTest.java > 3. test/hotspot/jtreg/runtime/jni/CalleeSavedRegisters/FPRegs.java > > The above tests were blocked on AIX [@require os.family != "aix"] because > these tests are

Re: RFR: 8301552: Use AtomicReferenceArray for caching instead of CHM in ZoneOffset [v7]

2023-02-09 Thread Per Minborg
> `ZoneOffset` instances are cached by the `ZoneOffset` class itself for values > in the range [-18h, 18h] for each second that is on an even quarter of an > hour (i.e. at most 2*18*4+1 = 145 values). > > Instead of using a `ConcurrentHashMap` for caching instanced, we could > instead use an

Re: RFR: 8301873: Avoid string decoding in ZipFile.Source.getEntryPos [v7]

2023-02-09 Thread Claes Redestad
On Thu, 9 Feb 2023 11:46:42 GMT, Eirik Bjorsnos wrote: > > In addition to - or instead of - an `equals` shortcut then if coders are > > the same we could use `ArraysSupport.mismatch` which should get similar > > speed and help more generally. > > ..and if String had (an optimized) mismatch

Re: RFR: 8294982: Implementation of Classfile API [v12]

2023-02-09 Thread Maurizio Cimadamore
On Wed, 8 Feb 2023 13:44:13 GMT, Adam Sotona wrote: >> OK, I see your point now, I'll fix it. >> Thanks > > During the fix I found the definition that `ThrowableSig` (as a super-set of > `ClassTypeSig` and `TypeVarSig`) IS `Signature` - that fact is critical for > processing. > For example

Re: RFR: 8301737: java/rmi/server/UnicastRemoteObject/serialFilter/FilterUROTest.java fail with -Xcomp [v4]

2023-02-09 Thread SUN Guoyun
On Thu, 9 Feb 2023 08:48:17 GMT, SUN Guoyun wrote: >> Hi all, >> When -Xcomp be used, this testcase will use more codecaches, causing the GC >> to be triggered early, then causing this test failed on LoongArch64 >> architecture. >> >> This PR fix the issue, Please help review it. >> >>

Re: RFR: 8301737: java/rmi/server/UnicastRemoteObject/serialFilter/FilterUROTest.java fail with -Xcomp [v4]

2023-02-09 Thread Mark Sheppard
On Thu, 9 Feb 2023 08:48:17 GMT, SUN Guoyun wrote: >> Hi all, >> When -Xcomp be used, this testcase will use more codecaches, causing the GC >> to be triggered early, then causing this test failed on LoongArch64 >> architecture. >> >> This PR fix the issue, Please help review it. >> >>

Re: RFR: 8301737: java/rmi/server/UnicastRemoteObject/serialFilter/FilterUROTest.java fail with -Xcomp [v4]

2023-02-09 Thread SUN Guoyun
On Thu, 9 Feb 2023 08:48:17 GMT, SUN Guoyun wrote: >> Hi all, >> When -Xcomp be used, this testcase will use more codecaches, causing the GC >> to be triggered early, then causing this test failed on LoongArch64 >> architecture. >> >> This PR fix the issue, Please help review it. >> >>

Integrated: Merge jdk20

2023-02-09 Thread Jesper Wilhelmsson
On Thu, 9 Feb 2023 07:43:28 GMT, Jesper Wilhelmsson wrote: > Forwardport JDK 20 -> JDK 21 This pull request has now been integrated. Changeset: af8973dc Author:Jesper Wilhelmsson URL: https://git.openjdk.org/jdk/commit/af8973dc509c1f326223e3ffd1773c9e930141d8 Stats: 69 lines

Re: RFR: 8301873: Avoid string decoding in ZipFile.Source.getEntryPos [v9]

2023-02-09 Thread Eirik Bjorsnos
> After finding a hash match, getEntryPos needs to compare the lookup name up > to the encoded entry name in the CEN. This comparison is done by decoding the > entry name into a String. The names can then be compared using the String > API. This decoding step adds a significat cost to this

Re: RFR: 8301873: Avoid string decoding in ZipFile.Source.getEntryPos [v7]

2023-02-09 Thread Eirik Bjorsnos
On Thu, 9 Feb 2023 11:39:18 GMT, Claes Redestad wrote: > Yes, I'll file a PR to see if we can make `startsWith` a bit sharper Thanks! I pushed the change to ZipCoder.compare. > In addition to - or instead of - an `equals` shortcut then if coders are the > same we could use

Re: RFR: 8301873: Avoid string decoding in ZipFile.Source.getEntryPos [v8]

2023-02-09 Thread Eirik Bjorsnos
> After finding a hash match, getEntryPos needs to compare the lookup name up > to the encoded entry name in the CEN. This comparison is done by decoding the > entry name into a String. The names can then be compared using the String > API. This decoding step adds a significat cost to this

Re: RFR: 8300139 : [AIX] Use pthreads to avoid JNI_createVM call from primordial thread [v3]

2023-02-09 Thread Thomas Stuefe
On Thu, 9 Feb 2023 11:17:54 GMT, Varada M wrote: >> 1. test/jdk/jni/nullCaller/NullCallerTest.java >> 2. test/jdk/java/lang/reflect/exeCallerAccessTest/CallerAccessTest.java >> 3. test/hotspot/jtreg/runtime/jni/CalleeSavedRegisters/FPRegs.java >> >> The above tests were blocked on AIX

Re: RFR: 8300139 : [AIX] Use pthreads to avoid JNI_createVM call from primordial thread [v3]

2023-02-09 Thread Thomas Stuefe
On Thu, 9 Feb 2023 11:28:47 GMT, Thomas Stuefe wrote: >> Varada M has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Fixes > > test/jdk/java/lang/reflect/exeCallerAccessTest/exeCallerAccessTest.c line 48: > >> 46: int checkAccess(JNIEnv

Re: RFR: 8301873: Avoid string decoding in ZipFile.Source.getEntryPos [v7]

2023-02-09 Thread Eirik Bjorsnos
On Thu, 9 Feb 2023 11:17:54 GMT, Eirik Bjorsnos wrote: > It helps... a lot! I guess an update to String.startsWith should be handled separately from this PR. If startsWith will be optimized, then I'm happy to update this PR to use startsWith as you suggested. Then ZipCoder will speed up for

Re: RFR: 8301737: java/rmi/server/UnicastRemoteObject/serialFilter/FilterUROTest.java fail with -Xcomp [v4]

2023-02-09 Thread SUN Guoyun
On Thu, 9 Feb 2023 08:48:17 GMT, SUN Guoyun wrote: >> Hi all, >> When -Xcomp be used, this testcase will use more codecaches, causing the GC >> to be triggered early, then causing this test failed on LoongArch64 >> architecture. >> >> This PR fix the issue, Please help review it. >> >>

Re: RFR: 8301873: Avoid string decoding in ZipFile.Source.getEntryPos [v7]

2023-02-09 Thread Eirik Bjorsnos
On Thu, 9 Feb 2023 11:07:17 GMT, Claes Redestad wrote: > Could be interesting to see if special-casing `startsWith` to call `equals` > when possible would help: It helps... a lot! Benchmark (size) Mode CntScore Error Units ZipFileGetEntry.getEntryHit

Re: RFR: 8300139 : [AIX] Use pthreads to avoid JNI_createVM call from primordial thread [v2]

2023-02-09 Thread Varada M
On Wed, 8 Feb 2023 15:53:52 GMT, Tyler Steele wrote: >> Varada M has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Fixes > > test/hotspot/jtreg/runtime/jni/CalleeSavedRegisters/FPRegs.java line 2: > >> 1: /* >> 2: * Copyright (c) 2021,

Re: RFR: 8300139 : [AIX] Use pthreads to avoid JNI_createVM call from primordial thread [v3]

2023-02-09 Thread Varada M
> 1. test/jdk/jni/nullCaller/NullCallerTest.java > 2. test/jdk/java/lang/reflect/exeCallerAccessTest/CallerAccessTest.java > 3. test/hotspot/jtreg/runtime/jni/CalleeSavedRegisters/FPRegs.java > > The above tests were blocked on AIX [@require os.family != "aix"] because > these tests are

Re: RFR: 8301873: Avoid string decoding in ZipFile.Source.getEntryPos [v7]

2023-02-09 Thread Claes Redestad
On Wed, 8 Feb 2023 16:36:16 GMT, Eirik Bjorsnos wrote: >> After finding a hash match, getEntryPos needs to compare the lookup name up >> to the encoded entry name in the CEN. This comparison is done by decoding >> the entry name into a String. The names can then be compared using the >>

Re: RFR: 8300139 : [AIX] Use pthreads to avoid JNI_createVM call from primordial thread [v2]

2023-02-09 Thread Varada M
On Wed, 8 Feb 2023 21:30:29 GMT, David Holmes wrote: > It just occurred to me that we may also need to update the test makefiles to > link to libpthread for these modified tests? Running test 'jtreg:test/hotspot/jtreg/runtime/jni/CalleeSavedRegisters/FPRegs.java' Passed:

Re: RFR: 8301873: Avoid string decoding in ZipFile.Source.getEntryPos [v7]

2023-02-09 Thread Eirik Bjorsnos
On Thu, 9 Feb 2023 10:05:06 GMT, Claes Redestad wrote: > Should be a win and avoids the need for a new mismatch method here. Interestingly, this is not a win: PR: Benchmark (size) Mode CntScore Error Units ZipFileGetEntry.getEntryHit 512

Incorrect capitalization in Arrays.compare and Arrays.mismatch Javadocs

2023-02-09 Thread Eirik Bjørsnøs
Please review this documentation-only change which fixes incorrect capitalization when referencing "aToIndex" and "bToIndex" in the Javadocs of Arrays.compare and Arrays.mismatch. https://github.com/openjdk/jdk/pull/12488 Thanks, Eirik.

Re: RFR: 8301873: Avoid string decoding in ZipFile.Source.getEntryPos [v7]

2023-02-09 Thread Claes Redestad
On Wed, 8 Feb 2023 16:36:16 GMT, Eirik Bjorsnos wrote: >> After finding a hash match, getEntryPos needs to compare the lookup name up >> to the encoded entry name in the CEN. This comparison is done by decoding >> the entry name into a String. The names can then be compared using the >>

Re: RFR: 8301737: java/rmi/server/UnicastRemoteObject/serialFilter/FilterUROTest.java fail with -Xcomp [v4]

2023-02-09 Thread Mark Sheppard
On Thu, 9 Feb 2023 08:48:17 GMT, SUN Guoyun wrote: >> Hi all, >> When -Xcomp be used, this testcase will use more codecaches, causing the GC >> to be triggered early, then causing this test failed on LoongArch64 >> architecture. >> >> This PR fix the issue, Please help review it. >> >>

Re: RFR: 8301873: Avoid string decoding in ZipFile.Source.getEntryPos [v7]

2023-02-09 Thread Eirik Bjorsnos
On Wed, 8 Feb 2023 16:36:16 GMT, Eirik Bjorsnos wrote: >> After finding a hash match, getEntryPos needs to compare the lookup name up >> to the encoded entry name in the CEN. This comparison is done by decoding >> the entry name into a String. The names can then be compared using the >>

Re: RFR: 8294982: Implementation of Classfile API [v13]

2023-02-09 Thread Adam Sotona
On Wed, 8 Feb 2023 11:16:14 GMT, Maurizio Cimadamore wrote: >> `ofSymbols` is an alternative to `of` when conflicting method parameters. >> In such case `of` refers to CP entries and `ofSymbols` refer to independent >> symbols describing the objects, like for example `ClassDesc`, >>

Re: RFR: 8301737: java/rmi/server/UnicastRemoteObject/serialFilter/FilterUROTest.java fail with -Xcomp [v4]

2023-02-09 Thread SUN Guoyun
> Hi all, > When -Xcomp be used, this testcase will use more codecaches, causing the GC > to be triggered early, then causing this test failed on LoongArch64 > architecture. > > This PR fix the issue, Please help review it. > > Thanks. SUN Guoyun has updated the pull request incrementally