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

2021-03-11 Thread Stefan Karlsson
On Thu, 11 Mar 2021 14:07:43 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

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

2021-03-11 Thread Stefan Karlsson
On Thu, 11 Mar 2021 14:07:43 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

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

2021-03-11 Thread Stefan Karlsson
On Thu, 11 Mar 2021 14:07:43 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

Re: [OpenJDK 2D-Dev] RFR: 8253795: Implementation of JEP 391: macOS/AArch64 Port [v12]

2021-02-09 Thread Stefan Karlsson
On Fri, 5 Feb 2021 16:07:09 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

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

2021-02-09 Thread Stefan Karlsson
On Fri, 5 Feb 2021 16:07:09 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

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

2021-02-09 Thread Stefan Karlsson
On Fri, 5 Feb 2021 16:07:09 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

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

2021-02-09 Thread Stefan Karlsson
On Fri, 5 Feb 2021 16:07:09 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

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

2021-02-09 Thread Stefan Karlsson
On Fri, 5 Feb 2021 16:07:09 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

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

2021-01-26 Thread Stefan Karlsson
On Mon, 25 Jan 2021 19:38:16 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

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

2021-01-26 Thread Stefan Karlsson
On Mon, 25 Jan 2021 19:38:16 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

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

2021-01-26 Thread Stefan Karlsson
On Mon, 25 Jan 2021 19:38:16 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

Re: [OpenJDK 2D-Dev] RFR: 8253795: Implementation of JEP 391: macOS/AArch64 Port [v3]

2021-01-26 Thread Stefan Karlsson
On Mon, 25 Jan 2021 19:38:16 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

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

2021-01-26 Thread Stefan Karlsson
On Mon, 25 Jan 2021 19:38:16 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

Re: RFR: 8256337: ap01t001.cpp, 67: Received unexpected number of ObjectFree events: 7

2020-11-16 Thread Stefan Karlsson
On Fri, 13 Nov 2020 19:25:57 GMT, Serguei Spitsyn wrote: >> The ap01t001 test creates six extra instances of the tested class, let them >> die, and then checks that it gets exactly six ObjectFree callbacks. The >> problem is that this is verified in the VMDeath callback and at that point >>

Integrated: 8256337: ap01t001.cpp, 67: Received unexpected number of ObjectFree events: 7

2020-11-16 Thread Stefan Karlsson
On Fri, 13 Nov 2020 14:11:23 GMT, Stefan Karlsson wrote: > The ap01t001 test creates six extra instances of the tested class, let them > die, and then checks that it gets exactly six ObjectFree callbacks. The > problem is that this is verified in the VMDeath callback and at t

Re: RFR: 8256337: ap01t001.cpp, 67: Received unexpected number of ObjectFree events: 7

2020-11-13 Thread Stefan Karlsson
On Fri, 13 Nov 2020 14:11:23 GMT, Stefan Karlsson wrote: > The ap01t001 test creates six extra instances of the tested class, let them > die, and then checks that it gets exactly six ObjectFree callbacks. The > problem is that this is verified in the VMDeath callback and at t

RFR: 8256337: ap01t001.cpp, 67: Received unexpected number of ObjectFree events: 7

2020-11-13 Thread Stefan Karlsson
The ap01t001 test creates six extra instances of the tested class, let them die, and then checks that it gets exactly six ObjectFree callbacks. The problem is that this is verified in the VMDeath callback and at that point the instance has gone out-of-scope and and a seventh ObjectFree event

Re: RFR: 8212879: Make JVMTI TagMap table concurrent [v2]

2020-11-03 Thread Stefan Karlsson
On Mon, 2 Nov 2020 15:58:15 GMT, Coleen Phillimore wrote: >> This change turns the HashTable that JVMTI uses for object tagging into a >> regular Hotspot hashtable - the one in hashtable.hpp with resizing and >> rehashing. Instead of pointing directly to oops so that GC has to walk the >>

Re: RFR: 8212879: Make JVMTI TagMap table concurrent [v2]

2020-11-03 Thread Stefan Karlsson
On Mon, 2 Nov 2020 15:58:15 GMT, Coleen Phillimore wrote: >> This change turns the HashTable that JVMTI uses for object tagging into a >> regular Hotspot hashtable - the one in hashtable.hpp with resizing and >> rehashing. Instead of pointing directly to oops so that GC has to walk the >>

Re: RFR: 8212879: Make JVMTI TagMap table concurrent [v2]

2020-11-03 Thread Stefan Karlsson
On Mon, 2 Nov 2020 12:58:49 GMT, Coleen Phillimore wrote: > GC callers shouldn't really have to know what processing we're doing here. I completely disagree with this. It's extremely important that the GC and Runtime code agrees on what this code does and where the GC *must* call it. Knowing

Re: RFR: 8212879: Make JVMTI TagMap table concurrent [v2]

2020-11-03 Thread Stefan Karlsson
On Mon, 2 Nov 2020 12:58:49 GMT, Coleen Phillimore wrote: > GC callers shouldn't really have to know what processing we're doing here. I completely disagree with this. It's extremely important that the GC and Runtime code agrees on what this code does and where the GC *must* call it. Knowing

Re: RFR: 8212879: Make JVMTI TagMap table not hash on oop address

2020-11-02 Thread Stefan Karlsson
On Mon, 2 Nov 2020 08:25:28 GMT, Stefan Karlsson wrote: >> This change turns the HashTable that JVMTI uses for object tagging into a >> regular Hotspot hashtable - the one in hashtable.hpp with resizing and >> rehashing. Instead of pointing directly to oops so t

Re: RFR: 8212879: Make JVMTI TagMap table not hash on oop address

2020-11-02 Thread Stefan Karlsson
On Mon, 2 Nov 2020 08:25:28 GMT, Stefan Karlsson wrote: >> This change turns the HashTable that JVMTI uses for object tagging into a >> regular Hotspot hashtable - the one in hashtable.hpp with resizing and >> rehashing. Instead of pointing directly to oops so t

Re: RFR: 8212879: Make JVMTI TagMap table not hash on oop address

2020-11-02 Thread Stefan Karlsson
On Fri, 30 Oct 2020 20:23:04 GMT, Coleen Phillimore wrote: > This change turns the HashTable that JVMTI uses for object tagging into a > regular Hotspot hashtable - the one in hashtable.hpp with resizing and > rehashing. Instead of pointing directly to oops so that GC has to walk the >

Re: RFR: 8212879: Make JVMTI TagMap table not hash on oop address

2020-11-02 Thread Stefan Karlsson
On Fri, 30 Oct 2020 20:23:04 GMT, Coleen Phillimore wrote: > This change turns the HashTable that JVMTI uses for object tagging into a > regular Hotspot hashtable - the one in hashtable.hpp with resizing and > rehashing. Instead of pointing directly to oops so that GC has to walk the >

Re: RFR: 8252103: Parallel heap inspection for ParallelScavengeHeap

2020-10-20 Thread Stefan Karlsson
On Mon, 19 Oct 2020 12:21:27 GMT, Lin Zang wrote: > Dear @stefank, > I have update this PR that use a claimer to help worker thread do parallel > iteration. would you like to help review > again? Thanks, > Lin Wrong Stefan, I think you mean @kstefanj - PR:

Integrated: 8254874: ZGC: JNIHandleBlock verification failure in stack watermark processing

2020-10-19 Thread Stefan Karlsson
On Fri, 16 Oct 2020 14:29:46 GMT, Stefan Karlsson wrote: > The cm03t001 test creates a local JNI handle in the prepare function. It > later uses that handle from a callback > function, from another thread. When the callback runs, ZGC applies a load > barrier to that handle an

Re: RFR: 8254874: ZGC: JNIHandleBlock verification failure in stack watermark processing

2020-10-19 Thread Stefan Karlsson
On Sat, 17 Oct 2020 08:38:10 GMT, Per Liden wrote: >> The cm03t001 test creates a local JNI handle in the prepare function. It >> later uses that handle from a callback >> function, from another thread. When the callback runs, ZGC applies a load >> barrier to that handle and self-heals it in

RFR: 8254874: ZGC: JNIHandleBlock verification failure in stack watermark processing

2020-10-16 Thread Stefan Karlsson
The cm03t001 test creates a local JNI handle in the prepare function. It later uses that handle from a callback function, from another thread. When the callback runs, ZGC applies a load barrier to that handle and self-heals it in the other threads stack. Later when that thread verifies its

Integrated: 8254668: JVMTI process frames on thread without started processing

2020-10-14 Thread Stefan Karlsson
On Tue, 13 Oct 2020 09:25:55 GMT, Stefan Karlsson wrote: > I hit the following assert in some tests runs that I've been doing: > # Internal Error > (/home/stefank/git/alt/open/src/hotspot/share/runtime/stackWatermark.inline.hpp:67), > pid=828170, > tid=828734 # assert(pro

Re: RFR: 8254668: JVMTI process frames on thread without started processing [v2]

2020-10-13 Thread Stefan Karlsson
tests consistently > asserts with this command line. All tests pass > with the proposed fix. > Recommendations of tests to run are welcome. I intend to get this run through > tier1-3, but haven't yet. Stefan Karlsson has updated the pull request incrementally with one additional comm

Re: RFR: 8254668: JVMTI process frames on thread without started processing [v2]

2020-10-13 Thread Stefan Karlsson
On Tue, 13 Oct 2020 12:48:05 GMT, Richard Reingruber wrote: >> Stefan Karlsson has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Review 1 > > Hi Stefan, > > thanks for fixing. > > With this cha

Re: RFR: 8254668: JVMTI process frames on thread without started processing

2020-10-13 Thread Stefan Karlsson
On Tue, 13 Oct 2020 09:25:55 GMT, Stefan Karlsson wrote: > I hit the following assert in some tests runs that I've been doing: > # Internal Error > (/home/stefank/git/alt/open/src/hotspot/share/runtime/stackWatermark.inline.hpp:67), > pid=828170, > tid=828734 # assert(pro

Re: RFR: 8253180: ZGC: Implementation of JEP 376: ZGC: Concurrent Thread-Stack Processing [v7]

2020-09-29 Thread Stefan Karlsson
On Tue, 29 Sep 2020 06:42:54 GMT, Erik Österlund wrote: >> I think the previous assert was intentionally weaker: `is_in` checks that >> argument points to a committed area in the >> heap, which can include the oops not yet fixed. It does not check if oop is >> valid as far as GC is concerned.

Re: RFR: 8253180: ZGC: Implementation of JEP 376: ZGC: Concurrent Thread-Stack Processing [v3]

2020-09-23 Thread Stefan Karlsson
On Wed, 23 Sep 2020 13:57:11 GMT, Erik Österlund wrote: >> This PR the implementation of "JEP 376: ZGC: Concurrent Thread-Stack >> Processing" (cf. >> https://openjdk.java.net/jeps/376). >> Basically, this patch modifies the epilog safepoint when returning from a >> frame (supporting

Re: RFR: 8253180: ZGC: Implementation of JEP 376: ZGC: Concurrent Thread-Stack Processing

2020-09-23 Thread Stefan Karlsson
On Wed, 23 Sep 2020 12:50:51 GMT, Erik Österlund wrote: >> src/hotspot/share/gc/z/zDriver.cpp line 108: >> >>> 106: return false; >>> 107: } >>> 108: >> >> Group needs_inactive_gc_locker, skip_thread_oop_barriers, and >> allow_coalesced_vm_operations together? >> >> Add a comment about

Re: RFR: 8253180: ZGC: Implementation of JEP 376: ZGC: Concurrent Thread-Stack Processing

2020-09-23 Thread Stefan Karlsson
On Tue, 22 Sep 2020 11:43:41 GMT, Erik Österlund wrote: > This PR the implementation of "JEP 376: ZGC: Concurrent Thread-Stack > Processing" (cf. > https://openjdk.java.net/jeps/376). > Basically, this patch modifies the epilog safepoint when returning from a > frame (supporting interpreter

Re: RFR: 8253180: ZGC: Implementation of JEP 376: ZGC: Concurrent Thread-Stack Processing

2020-09-23 Thread Stefan Karlsson
On Tue, 22 Sep 2020 11:43:41 GMT, Erik Österlund wrote: > This PR the implementation of "JEP 376: ZGC: Concurrent Thread-Stack > Processing" (cf. > https://openjdk.java.net/jeps/376). > Basically, this patch modifies the epilog safepoint when returning from a > frame (supporting interpreter

Re: RFR: 8253180: ZGC: Implementation of JEP 376: ZGC: Concurrent Thread-Stack Processing

2020-09-22 Thread Stefan Karlsson
On Tue, 22 Sep 2020 11:43:41 GMT, Erik Österlund wrote: > This PR the implementation of "JEP 376: ZGC: Concurrent Thread-Stack > Processing" (cf. > https://openjdk.java.net/jeps/376). > Basically, this patch modifies the epilog safepoint when returning from a > frame (supporting interpreter

Re: RFR: 8253180: ZGC: Implementation of JEP 376: ZGC: Concurrent Thread-Stack Processing

2020-09-22 Thread Stefan Karlsson
On Tue, 22 Sep 2020 11:43:41 GMT, Erik Österlund wrote: > This PR the implementation of "JEP 376: ZGC: Concurrent Thread-Stack > Processing" (cf. > https://openjdk.java.net/jeps/376). > Basically, this patch modifies the epilog safepoint when returning from a > frame (supporting interpreter

Re: RFR: 8252114: Windows-AArch64: Enable and test ZGC and ShenandoahGC [v2]

2020-09-11 Thread Stefan Karlsson
On Thu, 10 Sep 2020 15:30:04 GMT, Monica Beckwith wrote: >> ZGC and ShenandoahGC are two low latency GCs in OpenJDK HotSpot. We will >> enable and run microbenchmarks and scaling >> tests for both. After enabling, I ran JTRegs, a few micros, and SPECJBB2015 >> (heap and multi-JVM) scaling

Re: RFR: 8251835: 8251374 breaks jmap -dump:all

2020-08-14 Thread Stefan Karlsson
0" successfully, including your patch for 8251570. This 8251835 patch looks good to me. Thanks! StefanK Thanks, Paul On 8/14/20, 7:49 AM, "Stefan Karlsson" wrote: Hi all, Please review this patch to fix a recently introduced jmap bug. https://cr.openjdk.java.

RFR: 8251835: 8251374 breaks jmap -dump:all

2020-08-14 Thread Stefan Karlsson
Hi all, Please review this patch to fix a recently introduced jmap bug. https://cr.openjdk.java.net/~stefank/8251835/webrev.01/ https://bugs.openjdk.java.net/browse/JDK-8251835 I added the same kind of checks that we have in histo. Testing: - Tested locally with the failing test - Tier1-tier5

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-08-05 Thread Stefan Karlsson
*Wednesday, August 5, 2020 at 1:02 PM *To: *"linzang(臧琳)" , "Hohensee, Paul" , Stefan Karlsson , David Holmes , serviceability-dev , "hotspot-gc-...@openjdk.java.net" *Subject: *Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mai

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-08-04 Thread Stefan Karlsson
- From: "Hohensee, Paul" Date: Thursday, July 23, 2020 at 6:48 AM To: "linzang(臧琳)" , Stefan Karlsson , "serguei.spit...@oracle.com" , David Holmes , serviceability-dev , "hotspot-gc-...@openjdk.ja

Re: RFR 8247808: Move JVMTI strong oops to OopStorage

2020-06-18 Thread Stefan Karlsson
Hi Coleen, On 2020-06-17 23:25, coleen.phillim...@oracle.com wrote: Summary: Remove JVMTI oops_do calls from JVMTI and GCs Tested with tier1-3, also built shenandoah to verify shenandoah changes. open webrev at http://cr.openjdk.java.net/~coleenp/2020/8247808.01/webrev

Re: RFR(S): JDK-8247362 HeapDumpCompressedTest.java#id0 fails due to "Multiple garbage collectors selected"

2020-06-10 Thread Stefan Karlsson
Looks good. StefanK On 2020-06-10 23:00, Schmelter, Ralf wrote: Hi, https://bugs.openjdk.java.net/browse/JDK-8237354 added a test, which did not properly protect against explicitly set GCs (for serial, parallel and G1 GC). This fixes it by adding the corresponding @requires tag for each

Re: RFR(T): 8244622: Remove SA's memory/FreeChunk.java. It's no longer used.

2020-05-27 Thread Stefan Karlsson
Looks good. StefanK On 2020-05-27 01:07, Chris Plummer wrote: Hello, Please review the following trivial change to remove FreeChunk.java: https://bugs.openjdk.java.net/browse/JDK-8244622 http://cr.openjdk.java.net/~cjplummer/8244622/webrev.00/index.html Tested with tier1 and also running

Re: RFR: 8244224: Implementation of JEP 381: Remove the Solaris and SPARC Ports (hotspot)

2020-05-04 Thread Stefan Karlsson
Hi Mikael, On 2020-05-04 07:12, Mikael Vidstedt wrote: Please review this change which implements part of JEP 381: JBS: https://bugs.openjdk.java.net/browse/JDK-8244224 webrev: http://cr.openjdk.java.net/~mikael/webrevs/8244224/webrev.00/hotspot/open/webrev/ I went over this patch and

Re: RFR: 8244078: ProcessTools executeTestJvm and createJavaProcessBuilder have inconsistent handling of test.*.opts

2020-05-04 Thread Stefan Karlsson
On 2020-05-01 21:34, Chris Plummer wrote: On 4/30/20 2:07 AM, Stefan Karlsson wrote: ... There was one odd thing in jdi that requires extra scrutiny: https://cr.openjdk.java.net/~stefank/8244078/webrev.01/test/jdk/com/sun/jdi/lib/jdb/Debuggee.java.udiff.html Yes, that did look a odd

Re: RFR: 8244078: ProcessTools executeTestJvm and createJavaProcessBuilder have inconsistent handling of test.*.opts

2020-04-30 Thread Stefan Karlsson
On 2020-04-30 12:22, Stefan Karlsson wrote: Hi David, On 2020-04-30 11:59, David Holmes wrote: ... --- test/hotspot/jtreg/gc/arguments/GCArguments.java Isn't the String[] <-> List conversion already handled in ProcessTools? This looks like an area where GC added its own helper uti

Re: RFR: 8244078: ProcessTools executeTestJvm and createJavaProcessBuilder have inconsistent handling of test.*.opts

2020-04-30 Thread Stefan Karlsson
Hi David, On 2020-04-30 11:59, David Holmes wrote: Hi Stefan, On 30/04/2020 7:07 pm, Stefan Karlsson wrote: Hi all, Please review this patch to make it less likely that we accidentally add or fail to add test.java.opts and test.vm.opts to our spawned test JVMs. https

Re: RFR: 8244078: ProcessTools executeTestJvm and createJavaProcessBuilder have inconsistent handling of test.*.opts

2020-04-30 Thread Stefan Karlsson
On 2020-04-30 11:24, Alan Bateman wrote: On 30/04/2020 10:07, Stefan Karlsson wrote: Hi all, Please review this patch to make it less likely that we accidentally add or fail to add test.java.opts and test.vm.opts to our spawned test JVMs. https://cr.openjdk.java.net/~stefank/8244078/webrev

RFR: 8244078: ProcessTools executeTestJvm and createJavaProcessBuilder have inconsistent handling of test.*.opts

2020-04-30 Thread Stefan Karlsson
Hi all, Please review this patch to make it less likely that we accidentally add or fail to add test.java.opts and test.vm.opts to our spawned test JVMs. https://cr.openjdk.java.net/~stefank/8244078/webrev.01/ https://bugs.openjdk.java.net/browse/JDK-8244078

Re: RFR(T) : 8244066 : ClassFileInstaller should be run in driver mode

2020-04-29 Thread Stefan Karlsson
Looks good. StefanK On 2020-04-29 06:41, Igor Ignatyev wrote: http://cr.openjdk.java.net/~iignatyev//8244066/webrev.00 16 lines changed: 0 ins; 0 del; 16 mod; Hi all, could you please review this trivial cleanup in tests? from JBS: ClassFileInstaller is a test utility class which copies

Re: RFR(S/T) : 8243568 : serviceability/logging/TestLogRotation.java uses 'test.java.opts' and not 'test.vm.opts'

2020-04-27 Thread Stefan Karlsson
Looks good. StefanK On 2020-04-25 00:30, Igor Ignatyev wrote: http://cr.openjdk.java.net/~iignatyev//8243568/webrev.00 8 lines changed: 0 ins; 6 del; 2 mod; Hi all, could you please review this small and trivial patch which updates serviceability/logging/TestLogRotation.java test to pass

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-04-27 Thread Stefan Karlsson
Thanks a lot! I agree with you to decouple the heap inspection code with GC's. I will start from your POC code, may discuss with you later. BRs, Lin On 2020/4/22, 5:14 PM, "Stefan Karlsson" wrote:

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)

2020-04-22 Thread Stefan Karlsson
Hi Lin, I took a look at this earlier and saw that the heap inspection code is strongly coupled with the CollectedHeap and G1CollectedHeap. I'd prefer if we'd abstract this away, so that the GCs only provide a "parallel object iteration" interface, and the heap inspection code is kept

Re: RFR: 8240698: LingeredApp does not pass getTestJavaOpts() to the children process if vmArguments is already specified

2020-03-25 Thread Stefan Karlsson
eck as Ioi suggested in startApp method. + public static void startApp(LingeredApp theApp, String... additionalJvmOpts) throws IOException { + startAppExactJvmOpts(theApp, Utils.appendTestJavaOpts(additionalJvmOpts)); + } Leonid On 3/25/20 10:14 AM, Stefan Karlsson wrote: On 2020-03-25 1

Re: RFR: 8240698: LingeredApp does not pass getTestJavaOpts() to the children process if vmArguments is already specified

2020-03-25 Thread Stefan Karlsson
On 2020-03-25 17:40, Igor Ignatyev wrote: Hi Leonid, I have briefly looked at the patch, a few comments so far: test/hotspot/jtreg/serviceability/sa/ClhsdbFlags.java: - at L#114, could you please call static method using class name (as the opposite of using instance)? or was it meant to be

Re: RFR: JDK-8241271 Make hotspot build reproducible

2020-03-20 Thread Stefan Karlsson
HotSpot changes look good. StefanK On 2020-03-20 14:15, Magnus Ihse Bursie wrote: Can I get some hotspot reviewers on this as well? And is this trivial, from the Hotspot PoV? /Magnus On 2020-03-20 14:05, Erik Joelsson wrote: Looks good! /Erik On 2020-03-20 03:58, Magnus Ihse Bursie

Re: RFR(XS) 8240906: Update ZGC ProblemList for serviceability/sa/TestJmapCoreMetaspace.java

2020-03-18 Thread Stefan Karlsson
Looks good. StefanK On 2020-03-18 05:52, Chris Plummer wrote: Hello, Please review the following: https://bugs.openjdk.java.net/browse/JDK-8240906 diff --git a/test/hotspot/jtreg/ProblemList-zgc.txt b/test/hotspot/jtreg/ProblemList-zgc.txt --- a/test/hotspot/jtreg/ProblemList-zgc.txt +++

Re: RFR(XS): 8239916 - SA: delete dead code in jdk.hotspot.agent/share/classes/sun/jvm/hotspot/oops/ObjectHeap.java

2020-02-25 Thread Stefan Karlsson
Looks good. This is left-overs from the CMS removal. StefanK On 2020-02-25 19:02, Chris Plummer wrote: Adding hotspot-gc-dev. Chris On 2/25/20 2:21 AM, linzang(臧琳) wrote: Hi,     Please review the following change:     Bugs: https://bugs.openjdk.java.net/browse/JDK-8239916     webrev:

Re: [15] RFR 8238633: JVMTI heap walk should consult GC for marking oops

2020-02-21 Thread Stefan Karlsson
Hi Zhengyu, On 2020-02-17 15:51, Zhengyu Gu wrote: Hi Stefan, Thanks for the review and suggestions, updated accordingly: http://cr.openjdk.java.net/~zgu/JDK-8238633/webrev.01/ Thanks for moving the code. I think this looks good. If you're up for it, I have a couple of style change

Re: [15] RFR 8238633: JVMTI heap walk should consult GC for marking oops

2020-02-12 Thread Stefan Karlsson
Hi Zhengyu, On 2020-02-07 16:53, Zhengyu Gu wrote: Hi, I would like purpose this change that allows GC to provide ObjectMarker during JVMTI heap walk. Currently, JVMTI heap walk uses oop markword's 'marked' pattern to indicate 'visited' oop. Unfortunately, it conflicts with Shenandoah,

Re: RFR: 8237111: LingeredApp should be started with getTestJavaOpts

2020-01-22 Thread Stefan Karlsson
Thanks. Created JDK-8237639. StefanK On 2020-01-22 10:50, David Holmes wrote: Hi Stefan, Thanks David. Would you accept it if I created a follow-up RFR to investigate if we could change order of the combined flags? Sure, no problem. Thanks, David On 22/01/2020 6:58 pm, Stefan Karlsson

Re: RFR: 8237111: LingeredApp should be started with getTestJavaOpts

2020-01-22 Thread Stefan Karlsson
Hi David, On 2020-01-22 05:28, David Holmes wrote: Hi Stefan, Thanks for tackling this. On 22/01/2020 12:58 am, Stefan Karlsson wrote: Hi all, Please review this patch to change our usages of LingeredApp and getVmOptions() to instead use getTestJavaOpts(). https://cr.openjdk.java.net

Re: RFR: 8237111: LingeredApp should be started with getTestJavaOpts

2020-01-22 Thread Stefan Karlsson
initialized testVmArgs with an array of the final sized, and then lazily initialize the runtime data. Copyrights need updating. Other than that it looks good. Thanks for reviewing, StefanK thanks, Chris On 1/21/20 6:58 AM, Stefan Karlsson wrote: Hi all, Please review this patch to change

RFR: 8237111: LingeredApp should be started with getTestJavaOpts

2020-01-21 Thread Stefan Karlsson
Hi all, Please review this patch to change our usages of LingeredApp and getVmOptions() to instead use getTestJavaOpts(). https://cr.openjdk.java.net/~stefank/8237111/webrev.01/ https://bugs.openjdk.java.net/browse/JDK-8237111 This issue was encountered by both Coleen and I, independently.

Re: RFR: 8236110: Windows (MSVC 2013) build failures after JDK-8233299

2019-12-19 Thread Stefan Karlsson
Thanks, Erik! StefanK On 2019-12-19 09:22, Erik Joelsson wrote: Looks good! /Erik On 2019-12-18 18:58, Stefan Karlsson wrote: Adding build-dev. StefanK On 2019-12-18 18:52, Stefan Karlsson wrote: Hi all, Please review this patch to add a configure check to see if the SDK supports

Re: RFR: 8236110: Windows (MSVC 2013) build failures after JDK-8233299

2019-12-18 Thread Stefan Karlsson
Adding build-dev. StefanK On 2019-12-18 18:52, Stefan Karlsson wrote: Hi all, Please review this patch to add a configure check to see if the SDK supports the APIs needed to build ZGC on Windows. https://cr.openjdk.java.net/~stefank/8236110 https://bugs.openjdk.java.net/browse/JDK-8236110

Re: RFR: 8226797: serviceability/tmtools/jstat/GcCapacityTest.java fails with Exception: java.lang.RuntimeException: OGCMN > OGCMX (min generation capacity > max generation capacity)

2019-12-13 Thread Stefan Karlsson
this yesterday to make the JDK 14 fork cut-off. Thanks, StefanK Thanks, Serguei On 12/12/19 07:23, Stefan Karlsson wrote: In the interest to get this integrated before the RDP cut-off I'm going to push this ASAP. This has gone through tier1-tier3 testing. StefanK On 2019-12-12 13:01, Stefan

Re: RFR: 8226797: serviceability/tmtools/jstat/GcCapacityTest.java fails with Exception: java.lang.RuntimeException: OGCMN > OGCMX (min generation capacity > max generation capacity)

2019-12-12 Thread Stefan Karlsson
Thanks, Dan. StefanK On 2019-12-12 17:06, Daniel D. Daugherty wrote: src/hotspot/share/gc/shared/generationSpec.hpp     No comments. test/hotspot/jtreg/serviceability/tmtools/jstat/utils/JstatGcCapacityResults.java     No comments. Thumbs up. Dan On 12/12/19 10:23 AM, Stefan Karlsson

Re: RFR: 8226797: serviceability/tmtools/jstat/GcCapacityTest.java fails with Exception: java.lang.RuntimeException: OGCMN > OGCMX (min generation capacity > max generation capacity)

2019-12-12 Thread Stefan Karlsson
In the interest to get this integrated before the RDP cut-off I'm going to push this ASAP. This has gone through tier1-tier3 testing. StefanK On 2019-12-12 13:01, Stefan Karlsson wrote: Hi all, Please review this patch to fix a problem with unintialized values in our generation counters

RFR: 8226797: serviceability/tmtools/jstat/GcCapacityTest.java fails with Exception: java.lang.RuntimeException: OGCMN > OGCMX (min generation capacity > max generation capacity)

2019-12-12 Thread Stefan Karlsson
Hi all, Please review this patch to fix a problem with unintialized values in our generation counters. https://cr.openjdk.java.net/~stefank/8226797/webrev.01/ https://bugs.openjdk.java.net/browse/JDK-8226797 The jstat values NGCMN and OGCMN both return uninitialized values. I stumbled upon

Re: Fwd: RFR: 8233299: Implementation: JEP 365: ZGC on Windows

2019-11-22 Thread Stefan Karlsson
Thanks, Erik. StefanK On 2019-11-22 15:24, Erik Joelsson wrote: Build change looks good. /Erik On 2019-11-21 13:11, Stefan Karlsson wrote: Hi, I'm looking for a review for this tiny build change: https://cr.openjdk.java.net/~stefank/8233299/webrev.01/make/autoconf/hotspot.m4.udiff.html

Fwd: RFR: 8233299: Implementation: JEP 365: ZGC on Windows

2019-11-21 Thread Stefan Karlsson
11:18:20 +0100 From: Stefan Karlsson To: hotspot-gc-dev Hi all, Please review this patch to add ZGC support on Windows. https://cr.openjdk.java.net/~stefank/8233299/webrev.01/ https://bugs.openjdk.java.net/browse/JDK-8233299 As mentioned in the JEP (https://openjdk.java.net/jeps/365

Only old version available among Synology DiskStaion package

2019-09-11 Thread Stefan Karlsson
Hi I have a Synology DiskStation DS718+, and in the *Package Center* app, the SVN server is listed for installation. But its on old one, it's version 1.9.7.0119. So, I have asked Synology support about it, but only got the answer: > > Unfortunately as we are not the developer of this package we

Re: RFR: 8229258: Rework markOop and markOopDesc into a simpler mark word value carrier

2019-08-16 Thread Stefan Karlsson
On 2019-08-16 00:59, Kim Barrett wrote: On Aug 15, 2019, at 7:46 AM, Stefan Karlsson wrote: Thanks Kim, Roman, Dan and Coleen for reviews and feedback. I rebased the patch, fixed more alignments, renamed the bug, and rerun the test through tier1-3. https://cr.openjdk.java.net/~stefank

Re: RFR: 8229258: Rework markOop and markOopDesc into a simpler mark word value carrier

2019-08-15 Thread Stefan Karlsson
14 11:11, Roman Kennke wrote: Am 14.08.19 um 01:26 schrieb Kim Barrett: On Aug 12, 2019, at 12:19 PM, Stefan Karlsson wrote: Hi Roman, Kim helped me figuring out how to get past the volatile issues I had with the class markWord { uintptr_t value; ... } version. So, I've created a

Re: RFR: 8229258: Rework markOop and markOopDesc into a simpler mark word value carrier

2019-08-15 Thread Stefan Karlsson
11:11, Roman Kennke wrote: Am 14.08.19 um 01:26 schrieb Kim Barrett: On Aug 12, 2019, at 12:19 PM, Stefan Karlsson wrote: Hi Roman, Kim helped me figuring out how to get past the volatile issues I had with the class markWord { uintptr_t value; ... } version. So, I've created a version

Re: RFR: 8227086: Use AS_NO_KEEPALIVE loads in HeapDumper

2019-07-03 Thread Stefan Karlsson
Thanks, Serguei. StefanK On 2019-07-02 17:57, serguei.spit...@oracle.com wrote: Hi Stefan, It looks good. Thanks, Serguei On 7/2/19 06:53, Stefan Karlsson wrote: Hi all, Please review this patch to read objects with AS_NO_KEEPALIVE in the HeapDumper. http://cr.openjdk.java.net

Re: RFR: 8227086: Use AS_NO_KEEPALIVE loads in HeapDumper

2019-07-03 Thread Stefan Karlsson
Thanks, Kim. StefanK On 2019-07-03 00:11, Kim Barrett wrote: On Jul 2, 2019, at 9:53 AM, Stefan Karlsson wrote: Hi all, Please review this patch to read objects with AS_NO_KEEPALIVE in the HeapDumper. http://cr.openjdk.java.net/~stefank/8227086/webrev.01/ https://bugs.openjdk.java.net

RFR: 8227086: Use AS_NO_KEEPALIVE loads in HeapDumper

2019-07-02 Thread Stefan Karlsson
Hi all, Please review this patch to read objects with AS_NO_KEEPALIVE in the HeapDumper. http://cr.openjdk.java.net/~stefank/8227086/webrev.01/ https://bugs.openjdk.java.net/browse/JDK-8227086 Found this while running some extra verification code through our barriers. This is one place

Re: RFR: 8224479: New diagnostic command: VM.get_flag

2019-05-21 Thread Stefan Karlsson
HelloSleep VM.flags -name=UseSerialGC 371: bool UseSerialGC = false {product} {default} Let's see if anyone else has some feedback regarding this. Thanks, StefanK Just my 5c .. Thomas On Tue, May 21, 2019, 12:14 Stefan Karlsson

RFR: 8224479: New diagnostic command: VM.get_flag

2019-05-21 Thread Stefan Karlsson
Hi all, Please review this patch to introduce a new diagnostic command: VM.get_flag. http://cr.openjdk.java.net/~stefank/8224479/webrev.01/ https://bugs.openjdk.java.net/browse/JDK-8224479 Today we have: - VM.set_flag - which allows the user to set a manageable flag - VM.flags - which allows

Re: RFR (XXXS): 8221584: SIGSEGV in os::PlatformEvent::unpark() in JvmtiRawMonitor::raw_exit while posting method exit event

2019-04-07 Thread Stefan Karlsson
Looks good! StefanK On 2019-04-08 03:49, David Holmes wrote: Bug: https://bugs.openjdk.java.net/browse/JDK-8221584 webrev: http://cr.openjdk.java.net/~dholmes/8221584/webrev/ I'm really just sponsoring this fix as the problem was diagnozed by Robbin Ehn and Stefan Karlsson - thanks guys

Re: RFR: 8221396: Clean up serviceability/sa/TestUniverse.java

2019-03-25 Thread Stefan Karlsson
Looks good. StefanK On 2019-03-25 10:59, Per Liden wrote: Clean up serviceability/sa/TestUniverse.java to remove the need for the withZ/withoutZ option we currently pass in. This also changes the test to only run with the selected GC instead of testing all GCs every time, which should save

Subversion Exception!

2019-03-18 Thread Stefan Karlsson
When doing an update on the working copy, since twenty commit has been made since last update, I got the following: --- Subversion Exception! --- Subversion encountered a serious problem. Please take the time to report this on the Subversion

Re: RFR/RFC: 8220342: Remove scavenge_root_nmethods_do from VM_HeapWalkOperation::collect_simple_roots

2019-03-14 Thread Stefan Karlsson
Thanks, Serguei! StefanK On 2019-03-12 22:50, serguei.spit...@oracle.com wrote: Hi Stefan, The fix looks good to me. Testing the tiers 1-7 for different GC's has to be good enough. Thanks, Serguei On 3/12/19 8:19 AM, Stefan Karlsson wrote: Hi all, Please review and/or comment

Re: RFR/RFC: 8220342: Remove scavenge_root_nmethods_do from VM_HeapWalkOperation::collect_simple_roots

2019-03-14 Thread Stefan Karlsson
On 2019-03-14 10:21, Erik Helin wrote: On 12 Mar 2019, at 16:19, Stefan Karlsson wrote: Hi all, Hey StefanK, Please review and/or comment on this change to remove CodeCache::scavenge_root_nmehods_do from VM_HeapWalkOperation::collect_simple_roots. http://cr.openjdk.java.net/~stefank

RFR/RFC: 8220342: Remove scavenge_root_nmethods_do from VM_HeapWalkOperation::collect_simple_roots

2019-03-12 Thread Stefan Karlsson
Hi all, Please review and/or comment on this change to remove CodeCache::scavenge_root_nmehods_do from VM_HeapWalkOperation::collect_simple_roots. http://cr.openjdk.java.net/~stefank/8220342/webrev.01/ https://bugs.openjdk.java.net/browse/JDK-8220342

Re: RFR: 8219571: ProblemList serviceability/sa/TestJmapCoreMetaspace.java

2019-02-22 Thread Stefan Karlsson
Thanks, Igor! StefanK On 2019-02-22 22:02, Igor Ignatyev wrote: Hi Stefan, LGTM. -- Igor On Feb 22, 2019, at 1:00 PM, Stefan Karlsson wrote: Hi all, Please review this patch to ProblemList serviceability/sa/TestJmapCoreMetaspace.java https://cr.openjdk.java.net/~stefank/8219571/webrev

RFR: 8219571: ProblemList serviceability/sa/TestJmapCoreMetaspace.java

2019-02-22 Thread Stefan Karlsson
Hi all, Please review this patch to ProblemList serviceability/sa/TestJmapCoreMetaspace.java https://cr.openjdk.java.net/~stefank/8219571/webrev.01/ https://bugs.openjdk.java.net/browse/JDK-8219571 Original bug: https://bugs.openjdk.java.net/browse/JDK-8219443 Thanks, StefanK

Re: RFR/C: 8218922: SA: Enable best-effort implementation of live regions iteration for ZGC

2019-02-18 Thread Stefan Karlsson
Thanks, Erik. StefanK On 2019-02-18 10:35, Erik Österlund wrote: Hi Stefan, Looks good! Thanks, /Erik On 2019-02-15 20:25, Stefan Karlsson wrote: Testing showed that the re-enabling of the retiring of TLABs was broken. This has been fixed with this patch: http://cr.openjdk.java.net

Re: RFR/C: 8218922: SA: Enable best-effort implementation of live regions iteration for ZGC

2019-02-15 Thread Stefan Karlsson
nters have the correct colors, otherwise we'll end up crashing when -XX:+ZUnmapBadViews are used. With this fix, the patches passes tier1,tier2, and tier3 testing. Thanks, StefanK On 2019-02-13 15:52, Stefan Karlsson wrote: Hi all, Please review / comment on this patch to enable a best-effort

Re: RFR/C: 8218922: SA: Enable best-effort implementation of live regions iteration for ZGC

2019-02-15 Thread Stefan Karlsson
these changes:  https://cr.openjdk.java.net/~stefank/zgc/zSABitMapsAndLiveRegions/webrev/ StefanK Thanks Kevin On 14/02/2019 17:12, Stefan Karlsson wrote: Hi again, I've separated the live regions iteration refactoring into this patch: https://cr.openjdk.java.net/~stefank/8219003/webrev.01

Re: RFR/C: 8218922: SA: Enable best-effort implementation of live regions iteration for ZGC

2019-02-15 Thread Stefan Karlsson
Thanks, Yasumasa! StefanK On 2019-02-15 01:54, Yasumasa Suenaga wrote: Hi Stefan, Both changes look good to me! Thanks, Yasumasa 2019年2月15日(金) 2:12 Stefan Karlsson : Hi again, I've separated the live regions iteration refactoring into this patch: https://cr.openjdk.java.net/~stefank

Re: RFR: 8218734: SA: Incorrect and raw loads of OopHandles

2019-02-14 Thread Stefan Karlsson
. The copyright year for some of the files need updation. Sure. This looks good to me otherwise. Thanks for reviewing. StefanK Thanks, Jini. On 2/11/2019 2:09 PM, Stefan Karlsson wrote: Hi all, Please review this patch to fix the resolving of oops inside the (VM) OopHandles. https

Re: RFR/C: 8218922: SA: Enable best-effort implementation of live regions iteration for ZGC

2019-02-14 Thread Stefan Karlsson
Hi again, I've separated the live regions iteration refactoring into this patch: https://cr.openjdk.java.net/~stefank/8219003/webrev.01/ And use this RFE for the ZGC specific parts: https://cr.openjdk.java.net/~stefank/8218922/webrev.02/ Thanks, StefanK On 2019-02-14 14:39, Stefan Karlsson

<    1   2   3   4   5   6   7   >