Re: RFR: 8280916: Simplify HotSpot Style Guide editorial changes

2022-01-31 Thread Stefan Karlsson
On Sun, 30 Jan 2022 00:39:20 GMT, Kim Barrett wrote: > Please review this change to the HotSpot Style Guide change process. > > The current process involves gathering consensus among the HotSpot Group > Members. That's fine for changes of substance. But it seems overly weighty > for editorial

Integrated: 8275405: Linking error for classes with lambda template parameters and virtual functions

2021-10-21 Thread Stefan Karlsson
On Wed, 20 Oct 2021 08:11:34 GMT, Stefan Karlsson wrote: > We encountered the following linking error when trying to build Generational > ZGC on Windows: > > jvm.exp : error LNK2001: unresolved external symbol "const > ZBasicOopIterateClosure > >::`vftable'&quo

Re: RFR: 8275405: Linking error for classes with lambda template parameters and virtual functions [v2]

2021-10-21 Thread Stefan Karlsson
On Wed, 20 Oct 2021 12:23:28 GMT, Stefan Karlsson wrote: >> We encountered the following linking error when trying to build Generational >> ZGC on Windows: >> >> jvm.exp : error LNK2001: unresolved external symbol "const >> ZBasicOopIterate

Re: RFR: 8275405: Linking error for classes with lambda template parameters and virtual functions [v2]

2021-10-20 Thread Stefan Karlsson
ymbols that get filtered out of > the mapfile, which is then passed to the linker. > > I can get the code to link if I add a second exception for vftable symbols > containing the string 'lambda': > if ($$7 ~ /??_7.*@@6B@/ && $$7 !~ /type_info/ && $$7 !~ /l

RFR: 8275405: Linking error for classes with lambda template parameters and virtual functions

2021-10-20 Thread Stefan Karlsson
We encountered the following linking error when trying to build Generational ZGC on Windows: jvm.exp : error LNK2001: unresolved external symbol "const ZBasicOopIterateClosure >::`vftable'" (??_7?$ZBasicOopIterateClosure@V6B@) I narrowed this down to a simple reproducer, which doesn't li

Re: RFR: 8265702: ZGC on macOS/aarch64

2021-04-21 Thread Stefan Karlsson
On Wed, 21 Apr 2021 21:10:02 GMT, Per Liden wrote: > This patch enables ZGC on macOS/aarch64. It does three things: > 1) Enables building of ZGC on this platform. > 2) Adds `os::processor_id()`, which for now always returns 0. > 3) Fixes a WX issue in `OptoRuntime::handle_exception_C()`, where th

Re: RFR: 8264805: Remove the experimental Ahead-of-Time Compiler [v4]

2021-04-08 Thread Stefan Karlsson
On Thu, 8 Apr 2021 17:24:38 GMT, Vladimir Kozlov wrote: >> As part of [JEP 410](http://openjdk.java.net/jeps/410) remove code related >> to Ahead-of-Time Compiler from JDK: >> >> - `jdk.aot` module — the `jaotc` tool >> - `src/hotspot/share/aot` — loads AoT compiled code into VM for execution

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

2021-03-11 Thread Stefan Karlsson
On Tue, 9 Mar 2021 17:55:12 GMT, Anton Kozlov wrote: >> src/hotspot/share/runtime/thread.cpp line 2515: >> >>> 2513: void JavaThread::check_special_condition_for_native_trans(JavaThread >>> *thread) { >>> 2514: // Enable WXWrite: called directly from interpreter native wrapper. >>> 2515: MA

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 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 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 >> ta

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 that

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 > table

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 tests

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 wrote:

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 the

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: 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

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

2019-11-21 Thread Stefan Karlsson
2019 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/jep

Re: RFR: 8200729: Conditional compilation of GCs

2018-05-03 Thread Stefan Karlsson
works. I'll make sure to test with hs-tier2-graal. Thanks for reviewing! StefanK Thanks, Vladimir On 5/2/18 7:37 AM, Stefan Karlsson wrote: Hi all, Please review these patches to allow for conditional compilation of the GCs in HotSpot. Full patch: http://cr.openjdk.java.net/~stefank/

Re: RFR: 8200729: Conditional compilation of GCs

2018-05-03 Thread Stefan Karlsson
On 2018-05-03 15:19, Erik Helin wrote: On 05/02/2018 04:37 PM, Stefan Karlsson wrote: > Hi all, Hi Stefan, thanks for taking on this work, much appreciated! On 05/02/2018 04:37 PM, Stefan Karlsson wrote: > The first patch simply cleans up some INCLUDE_ALL_GCS usages in platform-sp

Re: RFR: 8200729: Conditional compilation of GCs

2018-05-03 Thread Stefan Karlsson
On 2018-05-03 11:06, Magnus Ihse Bursie wrote: On 2018-05-02 16:37, Stefan Karlsson wrote: Hi all, Please review these patches to allow for conditional compilation of the GCs in HotSpot. Full patch: http://cr.openjdk.java.net/~stefank/8200729/webrev.04/all/ It's nice to see this cl

Re: [11] RFR(S) 8202552: [AOT][JVMCI] Incorrect usage of INCLUDE_JVMCI and INCLUDE_AOT

2018-05-03 Thread Stefan Karlsson
Looks good to me. Thanks for fixing. StefanK On 2018-05-03 00:13, Vladimir Kozlov wrote: http://cr.openjdk.java.net/~kvn/8202552/webrev.00/ https://bugs.openjdk.java.net/browse/JDK-8202552 Stefan K. found several places where #ifdef instead of #if is used for INCLUDE_JVMCI. I also found plac

RFR: 8200729: Conditional compilation of GCs

2018-05-02 Thread Stefan Karlsson
Hi all, Please review these patches to allow for conditional compilation of the GCs in HotSpot. Full patch: http://cr.openjdk.java.net/~stefank/8200729/webrev.04/all/ (See below for a more fine-grained division into smaller patches) Today Parallel, G1, and CMS, are all guarded by INCLUDE_AL

Re: RFR: JDK-8201320 Feature request: Allow PrintFailureReports to be turned off

2018-04-10 Thread Stefan Karlsson
Hi Magnus, Thanks a lot for implementing this! I tested this with --with-log=info,report=none, and it's exactly what I want in my config script ;) Thanks, StefanK On 2018-04-10 22:54, Magnus Ihse Bursie wrote: From the bug report: "The compile errors you get from HotSpot are quite large, a

Re: RFR (L) JDK-7195622: CheckUnhandledOops has limited usefulness now

2013-09-20 Thread Stefan Karlsson
On 09/20/2013 02:46 PM, Stefan Karlsson wrote: On 09/19/2013 05:13 PM, Lois Foltan wrote: Please review the following fix: Webrev: http://cr.openjdk.java.net/~hseigel/bug_jdk7195622.0/ The changes looks good. I forgot this rather benign bug: http://cr.openjdk.java.net/~hseigel

Re: RFR (L) JDK-7195622: CheckUnhandledOops has limited usefulness now

2013-09-20 Thread Stefan Karlsson
On 09/19/2013 05:13 PM, Lois Foltan wrote: Please review the following fix: Webrev: http://cr.openjdk.java.net/~hseigel/bug_jdk7195622.0/ The changes looks good. There are some changes that I don't fully agree with, but I will not block the push because of them. I'm just going to mentio

Re: Review request (s): 7116081: USE_PRECOMPILED_HEADER=0 triggers a single threaded build of the JVM

2011-11-30 Thread Stefan Karlsson
Looping in build-dev and build-infra-dev. StefanK On 11/29/2011 09:47 AM, Stefan Karlsson wrote: David, Thanks for the review. All, Updated webrev: http://cr.openjdk.java.net/~stefank/7116081/webrev.2/ The rationale for this change is inlined: On 11/29/2011 12:48 AM, David Holmes wrote