Suresh's Avatar

Suresh

@suresh.dev.bsky.social

Software Programmer | Java | Kotlin Multiplatform (JVM,Native,WASM,JS) | Knowledge Seeker https://suresh.dev

354 Followers  |  364 Following  |  98 Posts  |  Joined: 18.11.2023  |  2.2903

Latest posts by suresh.dev on Bluesky

First, analyze using a JFR execution profile to find out which method is taking more time. If that doesn't yield results, use OTel instrumentation (if running on a JVM, use the Java agent) and analyze it using the response trace ID that is taking a longer time. I am using clickhouse+hyperdx for Otel

26.07.2025 05:15 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

>explore source code and interfaces

Isn't it what these agentic AI tools do (like Claude code, junie etc) ?

02.07.2025 23:35 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
Project Crema: Open World for Native Image Β· Issue #11327 Β· oracle/graal TL;DR Crema will lift Native Image's default closed-world assumption by allowing dynamic loading and execution of classes at run time. It builds upon Native Image Layers and the JDWP debugger by ad...

We are working on a new big project for @graalvm.org β€” Project Crema: github.com/oracle/graal....
It will lift Native Image's default closed-world assumption by allowing dynamic loading and execution of classes at run time.
Stay tuned for updates!

04.06.2025 12:34 β€” πŸ‘ 40    πŸ” 12    πŸ’¬ 2    πŸ“Œ 1
Preview
What’s new for JFR in JDK 25 JDK 25, to be released on September 16, is set to include three new Java Enhancement Proposals (JEPs) for JFR and several enhancements to the jdk.jfr API and the jfr command.

egahlin.github.io/2025/05/31/w... #jvm #jdk25

04.06.2025 01:19 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Postman is logging all your secrets and environment variables I was originally investigating this report that Postman is not HIPAA compliant. I found that Postman is not just wholly unsuitable for…

Postman is logging all your secrets and environment variables https://lobste.rs/s/tudmqv #security #web

17.05.2025 22:36 β€” πŸ‘ 3    πŸ” 2    πŸ’¬ 1    πŸ“Œ 0
Advanced performance analysis with async-profiler by Andrei Pangin
YouTube video by Devoxx UK Advanced performance analysis with async-profiler by Andrei Pangin

Advanced performance analysis with async-profiler by Andrei Pangin @devoxx.uk #jvm www.youtube.com/watch?v=u7-S...

17.05.2025 22:18 β€” πŸ‘ 6    πŸ” 3    πŸ’¬ 0    πŸ“Œ 0
Post image

AOT Method Profiling JEP status has changed to candidate. openjdk.org/jeps/515

In my latest benchmark with Spring Petclinic, it allows to speedup the warmup compared to the regular JIT (red line versus blue one).

Stabilized peak performance is currently slightly lower, but hopefully will be fixed.

15.05.2025 08:32 β€” πŸ‘ 7    πŸ” 2    πŸ’¬ 0    πŸ“Œ 1
JEP 515: Ahead-of-Time Method Profiling

Maybe in the future it's possible to get rid of these daemons altogether with the new AOT caching? openjdk.org/jeps/515

16.05.2025 06:53 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
ktor/ktor-client/ktor-client-cio/jvm/test/io/ktor/client/engine/cio/UnixSocketTest.kt at main Β· ktorio/ktor Framework for quickly creating connected applications in Kotlin with minimal effort - ktorio/ktor

Seems like #kotlin #ktor 3.2.0 will get UnixDomainSocket support for the CIO engine (Server and Client) πŸ‘- github.com/ktorio/ktor/...

16.05.2025 03:30 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

C

30.04.2025 18:24 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
JEP 514: Ahead-of-Time Command-Line Ergonomics

New JEP: Ahead-of-Time Command-Line Ergonomics

Very nice to streamline how to create an AOT cache for your application.

openjdk.org/jeps/514

30.04.2025 13:41 β€” πŸ‘ 6    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0

I've been using the Exposed library for a while, and I find that things can get quite complicated sometimes; figuring out the DSL isn't always easy for complex queries. It seems like ExoQuery makes handling those much easier.

29.04.2025 23:14 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
GitHub - ExoQuery/ExoQuery: Language Integrated Query for Kotlin Language Integrated Query for Kotlin. Contribute to ExoQuery/ExoQuery development by creating an account on GitHub.

Wow, LINQ for #Kotlin Multiplatform! github.com/ExoQuery/Exo.... This looks really nice, especially coming from the developer of zio-quill (LINQ in Scala) 🀯.

29.04.2025 23:14 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

A taste what is already delivered and what is coming to JDKs with Project Leyden. The warmup curve for javac compile tasks clearly improve the further you go into the AOT woods.

22.04.2025 11:12 β€” πŸ‘ 26    πŸ” 7    πŸ’¬ 2    πŸ“Œ 0
Post image

We just integrated a performance improvement to Java String that will provide a ~10x performance boost in some applications where Strings are used as keys and where the associated values are constant foldable. This will make JDK 25 faster.

github.com/openjdk/jdk/...

22.04.2025 15:14 β€” πŸ‘ 78    πŸ” 21    πŸ’¬ 2    πŸ“Œ 1
8352971: Increase maximum number of hold counts for ReentrantReadWriteLock by viktorklang-ora Β· Pull Request #24261 Β· openjdk/jdk I'm breaking this change out as a separate improvement, since it will not be generally possible to adjust these limits on the j.u.c primitives since they might already use a backing long to pac...

To better support virtual threads, JDK 25 increases the max hold count for ReentrantRWLock from 65K to Integer.MAX_VALUE (2.14 B) for improved scalability #jvm - github.com/openjdk/jdk/...

12.04.2025 06:20 β€” πŸ‘ 4    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Preview
GitHub - tjake/Jlama: Jlama is a modern LLM inference engine for Java Jlama is a modern LLM inference engine for Java. Contribute to tjake/Jlama development by creating an account on GitHub.

πŸ‘ Is Spring AI compatible with Jlama (github.com/tjake/Jlama)? If so, this would enhance its self-contained, eliminating the need for external tools for inference.

06.04.2025 21:38 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Do you have doc for backend kotlin developers who are never used Dagger or any Andoid DI frameworks? I'm looking for some explanations of its core concepts. Also, is it recommanded for ktor Server side apps?

04.04.2025 16:39 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

Our "javac on #WebAssembly" demo (and code!) for #WasmIO25 is up on GitHub in case you want to play with the new Wasm backend for @graalvm.org! πŸš€

More details to follow soon!

graalvm.github.io/graalvm-demo...

28.03.2025 16:42 β€” πŸ‘ 27    πŸ” 14    πŸ’¬ 1    πŸ“Œ 0
Post image Post image Post image

Probably the most impressive and exciting talk I have seen in years! Congrats to @fniephaus.com and Patrick Ziegler for their #wasmio presentation and work on @graalvm.org starting to compile Java applications to WasmGC. Kudos to @thomaswue.dev too.

28.03.2025 16:13 β€” πŸ‘ 47    πŸ” 22    πŸ’¬ 3    πŸ“Œ 1
hsdis HotSpot Disassembly Plugin Downloads

Nice. If you want to use a pre-compiled library with an existing JVM, I used it from,
chriswhocodes.com/hsdis/ and builds.shipilev.net/hsdis/

21.03.2025 00:13 β€” πŸ‘ 1    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Kotlin 2.1.20

Kotlin 2.1.20

πŸš€ Kotlin 2.1.20 is here! πŸš€
This release brings powerful new features and improvements:
✨ K2 support for kapt and Lombok plugins
πŸ”— Common atomic types and improved UUIDs in stdlib
⏱️ Native time-tracking API
⚑ New inlining optimizations in Kotlin/Native

Learn more: kotl.in/f959fd

20.03.2025 16:00 β€” πŸ‘ 42    πŸ” 7    πŸ’¬ 0    πŸ“Œ 1

Java 24 / JDK 24: General Availability: mail.openjdk.org/pipermail/jd...

Features: openjdk.org/projects/jdk...

#java24 #jdk24 #openjdk #java

18.03.2025 13:23 β€” πŸ‘ 112    πŸ” 62    πŸ’¬ 8    πŸ“Œ 2
Preview
How to build an off-site NAS with a Raspberry Pi and LTE Your very own remote NASberry Pi

Build an off-site NAS with a Raspberry Pi and LTE and put it on your tailnet, following this new tutorial from XDA Developers. Perfect way to celebrate Pi Day!

14.03.2025 16:54 β€” πŸ‘ 22    πŸ” 3    πŸ’¬ 0    πŸ“Œ 0

This is really cool... One small request, use java HttpClient instead of unirest in the examples.

13.03.2025 18:11 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
GitHub - illarionov/wasm2class-gradle-plugin: Gradle plugin that compiles .wasm into .class for running on the JVM and Android using Chicory Gradle plugin that compiles .wasm into .class for running on the JVM and Android using Chicory - illarionov/wasm2class-gradle-plugin

Nice... It seems there is a new Gradle plugin for AOT compiling WASM to class files using Chicory AOT compiler github.com/illarionov/w...
#kotlin #java #gradle

13.03.2025 17:18 β€” πŸ‘ 3    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

github.com/openjdk/jdk/...
Another nice improvement from @douglea.bsky.social
- "Improve performance of delayed task handling . This speeds up some Loom operations by almost an order of magnitude (and similarly for CompletableFuture). 🀯 #jvm

25.02.2025 04:07 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

The `maxParallelForks` configuration exists for test tasks, but I'm wondering why it's limited to them.

07.02.2025 20:42 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
GitHub - roastedroot/sqlite4j: Pure Java SQLite JDBC Driver Pure Java SQLite JDBC Driver. Contribute to roastedroot/sqlite4j development by creating an account on GitHub.

github.com/roastedroot/... - A pure #java SQLite JDBC driver AOT compiled from c -> #WASM -> JVM Bytecode using chicory.dev AOT build time compiler.
This opens the door for many tools and libraries to be easily ported to the JVM with no native dependencies..amazing 🀯

04.02.2025 04:37 β€” πŸ‘ 16    πŸ” 7    πŸ’¬ 1    πŸ“Œ 0
Preview
Release Byte Buddy 1.16.0 Β· raphw/byte-buddy Allow for erasure of types of bootstrapped methods in Advice within instrumented class. Rework Advice post-processing to allow for erasure of bootstrapped methods. Fix missing application of hashCo...

Byte Buddy 1.16.0 now integrates the Java Class File API and is therefore compatible with any future JDK that retains its instruction set, without activating the experimental flag. github.com/raphw/byte-b...

17.01.2025 23:48 β€” πŸ‘ 43    πŸ” 12    πŸ’¬ 1    πŸ“Œ 1

@suresh.dev is following 20 prominent accounts