Re: RFR: 8350209: Preserve adapters in AOT cache [v7]

2025-04-25 Thread Vladimir Kozlov
On Tue, 22 Apr 2025 23:05:13 GMT, Vladimir Kozlov wrote: >> [JEP 483](https://bugs.openjdk.org/browse/JDK-8315737) preserves class >> information in AOT cache which helps Java startup performance. >> >> We should also preserve adapters (i2c, c2i) to further improve performance >> of class link

clang Memory sanitizer (msan) and OpenJDK

2025-04-25 Thread Baesken, Matthias
Hi, Memory sanitizer https://clang.llvm.org/docs/MemorySanitizer.html is supported with the clang toolchain (e.g. on Linux) ; “MemorySanitizer is a detector of uninitialized memory use” . For small examples it is rather easy to use, you just compile and link with -fsanitize=memory

Re: RFR: 8354686: [AIX] now ubsan is possible [v2]

2025-04-25 Thread Matthias Baesken
On Thu, 17 Apr 2025 15:42:09 GMT, Joachim Kern wrote: >> With the introduction of the open XL 17.1.2.13 Compiler and the runtime >> 17.1.3 as minimum requirement ubsan is supported for AIX now. >> Unfortunately there has to be some adoptions. >> - Currently the test for vptr does not work and pr

Re: RFR: 8355080: java.base/jdk.internal.foreign.SystemLookup.find() doesn't work on static JDK [v3]

2025-04-25 Thread Jaikiran Pai
On Wed, 23 Apr 2025 00:56:18 GMT, Jiangli Zhou wrote: >> Please review this PR that changes to use `NativeLibraries.loadLibrary()` >> for loading the `libsyslookup` in `jdk.internal.foreign.SystemLookup` class. >> >> `NativeLibraries.loadLibrary()` handles both the shared library and (static)

Re: RFR: 8355446: Change to Xcode 15.4 for building on macOS at Oracle

2025-04-25 Thread Erik Joelsson
On Thu, 24 Apr 2025 20:55:33 GMT, Mikael Vidstedt wrote: > Oracle is updating the version of Xcode for building the JDK on macOS to > Xcode 15.4. > > Testing: tier1-5 Marked as reviewed by erikj (Reviewer). - PR Review: https://git.openjdk.org/jdk/pull/24862#pullrequestreview-279

Re: RFR: 8355570: [s390x] Update -march to z13 generation

2025-04-25 Thread Erik Joelsson
On Fri, 25 Apr 2025 06:24:31 GMT, Amit Kumar wrote: > updated march level from z10 to z13. > > Testing: tier1 (fastdebug-vm) Marked as reviewed by erikj (Reviewer). - PR Review: https://git.openjdk.org/jdk/pull/24869#pullrequestreview-2794009150

Re: RFR: 8354919: Move HotSpot .editorconfig into the global .editorconfig

2025-04-25 Thread Sergey Bylokhov
On Thu, 17 Apr 2025 07:28:03 GMT, Julian Waters wrote: > The src/hotspot directory should ideally only be used for HotSpot source > files, and we should avoid polluting it with an .editorconfig. A cleaner > solution exists since we can just specify the desired code formatting for > HotSpot as

Re: RFR: 8348282: Add option for syntax highlighting in javadoc snippets [v4]

2025-04-25 Thread Nizar Benalla
On Wed, 9 Apr 2025 04:15:20 GMT, Hannes Wallnöfer wrote: >> Please review a change to add a `javadoc` option to enable syntax >> highlighting for code fragments in snippets and `` tags. The new >> `--syntax-highlight` option uses the [highlight.js] JavaScript library and >> supports Java, Pro

Re: RFR: 8355080: java.base/jdk.internal.foreign.SystemLookup.find() doesn't work on static JDK [v3]

2025-04-25 Thread Jiangli Zhou
On Fri, 25 Apr 2025 11:31:50 GMT, Jaikiran Pai wrote: > Hello Jiangli, if I understand this change correctly, then this is forcing a > non-JNI library to be a JNI library for it to work on static JDK. Is that a > requirement for static JDK builds? Or is it just a convenient way to use > existi

RFR: 8355003: Implement Ahead-of-Time Method Profiling

2025-04-25 Thread Igor Veresov
Improve warm-up time by making profile data from a previous run of an application instantly available, when the HotSpot Java Virtual Machine starts. Specifically, enhance the [AOT cache](https://openjdk.org/jeps/483) to store method execution profiles from training runs, reducing profiling delay

Re: RFR: 8348282: Add option for syntax highlighting in javadoc snippets [v4]

2025-04-25 Thread Hannes Wallnöfer
On Thu, 24 Apr 2025 15:22:47 GMT, Nizar Benalla wrote: > I wonder if we can push for the conversion of some `` to > `@snippet` so that we can benefit more from this new feature. I checked some > older classes and the use of `` is still widespread. `` is supported by syntax highlighting, so the