Runtime Code Analysis in the Age of Vibe Coding In the era of vibe coding—where large amounts of code are introduced or refactored in short bursts, often with the help of LLMs—you need immediate feedback on how new logic actually executes. Not comprehensive analysis. Not nanosecond-precise...
#Bytecode #codecoverage #Developertools #executioncounts #Java #javaagent #Observability #Profiling #runtimeanalysis #VibeCoding
https://foojay.io/today/runtime-code-analysis-in-the-age-of-vibe-coding/
foojay – a place for friends of OpenJDK

foojay is the place for all OpenJDK Update Release Information. Learn More.

foojay

The #JVM is an excellent platform for #monkeypatching

I want to demo several approaches for monkey-patching in Java in this post.

As an example, I’ll use a sample for-loop. Imagine we have a class and a method. We want to call the method multiple times without doing it explicitly.

https://blog.frankel.ch/monkeypatching-java/

#Java #AspectJ #ByteBuddy #instrumentation #JavaAgent

Monkey-patching in Java

The JVM is an excellent platform for monkey-patching. Monkey patching is a technique used to dynamically update the behavior of a piece of code at run-time. A monkey patch (also spelled monkey-patch, MonkeyPatch) is a way to extend or modify the runtime code of dynamic languages (e.g. Smalltalk, JavaScript, Objective-C, Ruby, Perl, Python, Groovy, etc.) without altering the original source code. — Wikipedia I want to demo several approaches for monkey-patching in Java in this post

A Java geek