Tagged articles
17 articles
Page 1 of 1
Architect's Tech Stack
Architect's Tech Stack
Aug 12, 2023 · Backend Development

Understanding Java Object Behavior, Method Area, and Dynamic Tracing with Instrumentation, BTrace, and Arthas

This article explains how Java objects store attributes and shared behavior, describes the JVM method area where method bytecode resides, and demonstrates runtime bytecode manipulation using java.lang.instrument.Instrumentation, BTrace scripts, and the Arthas diagnostic tool to solve real‑world debugging problems.

ArthasBTraceInstrumentation
0 likes · 15 min read
Understanding Java Object Behavior, Method Area, and Dynamic Tracing with Instrumentation, BTrace, and Arthas
Top Architect
Top Architect
Mar 21, 2022 · Backend Development

Understanding Java Object Behavior, Method Area, and Dynamic Tracing with Instrumentation, BTrace, and Arthas

This article explains how Java objects store behavior in the method area, introduces the java.lang.instrument.Instrumentation API for redefining classes at runtime, and demonstrates practical dynamic tracing techniques using BTrace and Arthas, complete with code examples and architectural insights.

BTraceBackend DevelopmentInstrumentation
0 likes · 16 min read
Understanding Java Object Behavior, Method Area, and Dynamic Tracing with Instrumentation, BTrace, and Arthas
Architect's Tech Stack
Architect's Tech Stack
Jun 4, 2021 · Fundamentals

Understanding Java Object Behavior and Runtime Instrumentation with Instrumentation, BTrace, and Arthas

This article explains how Java object behavior is stored in the JVM method area, explores dynamic bytecode manipulation using java.lang.instrument.Instrumentation, demonstrates practical tracing with BTrace, and introduces Arthas as a user‑friendly diagnostic tool for runtime debugging and monitoring.

ArthasBTraceInstrumentation
0 likes · 14 min read
Understanding Java Object Behavior and Runtime Instrumentation with Instrumentation, BTrace, and Arthas
Programmer DD
Programmer DD
May 10, 2021 · Backend Development

Mastering Java Dynamic Tracing: Instrumentation, BTrace, and ASM Explained

This article explores how Java's method area stores object behavior, how the java.lang.instrument.Instrumentation API enables runtime class redefinition, and how tools like ASM, BTrace, and Arthas empower developers to inject bytecode, trace methods, and debug production systems without source changes.

BTraceBackendInstrumentation
0 likes · 16 min read
Mastering Java Dynamic Tracing: Instrumentation, BTrace, and ASM Explained
Ctrip Technology
Ctrip Technology
Oct 15, 2020 · Databases

AppTrace: An Automated System for Detecting and Analyzing Slow SQL in Application Performance Testing

The article introduces AppTrace, a system that automatically captures, analyzes, and alerts on slow SQL statements during testing, aiming to resolve 60%‑80% of application performance issues by leveraging BTrace‑based tracing, execution‑plan comparison, and risk‑based alerting within Ctrip’s backend services.

AppTraceBTraceJava
0 likes · 9 min read
AppTrace: An Automated System for Detecting and Analyzing Slow SQL in Application Performance Testing
Java Backend Technology
Java Backend Technology
Aug 22, 2020 · Backend Development

How to Dynamically Modify Java Object Behavior with Instrumentation, BTrace, and Arthas

This article explains how Java object behavior is stored in the JVM method area, explores the java.lang.instrument.Instrumentation API for redefining and retransformation of classes, and demonstrates practical dynamic tracing and bytecode manipulation using tools like ASM, BTrace, and Arthas to inject logging and diagnostics at runtime.

ArthasBTrace
0 likes · 16 min read
How to Dynamically Modify Java Object Behavior with Instrumentation, BTrace, and Arthas
Architect's Tech Stack
Architect's Tech Stack
Oct 15, 2019 · Backend Development

Understanding Java Object Behavior, Method Area, and Dynamic Tracing with Instrumentation, BTrace, and Arthas

This article explains how Java objects store behavior and state, describes the JVM method area where method bytecode resides, and demonstrates runtime class modification using java.lang.instrument.Instrumentation, BTrace scripts, and the Arthas diagnostic tool to solve real‑world debugging problems.

ArthasBTraceInstrumentation
0 likes · 14 min read
Understanding Java Object Behavior, Method Area, and Dynamic Tracing with Instrumentation, BTrace, and Arthas
Efficient Ops
Efficient Ops
Apr 9, 2019 · Backend Development

Why Is My Java Service Stalling? Uncovering GC, Safepoint, and Log4j2 Bottlenecks

After weeks of investigation, this post details how intermittent request timeouts in a high‑concurrency Java service were traced to frequent JVM stop‑the‑world pauses caused by GC, safepoint logging, biased lock revocation, and Log4j2’s synchronous logging, and outlines the steps taken to diagnose and resolve the issue.

BTraceJavaSafepoint
0 likes · 10 min read
Why Is My Java Service Stalling? Uncovering GC, Safepoint, and Log4j2 Bottlenecks
Meituan Technology Team
Meituan Technology Team
Feb 28, 2019 · Backend Development

Dynamic Java Tracing with Instrumentation, BTrace, and ASM

The article explains how Java developers can dynamically trace and modify program behavior at runtime using the Instrumentation API, ASM bytecode manipulation, and the safe, annotation‑driven BTrace tool, illustrating techniques such as class redefinition, method interception, and examples like JSP recompilation and Arthas diagnostics.

BTraceInstrumentationJVM
0 likes · 16 min read
Dynamic Java Tracing with Instrumentation, BTrace, and ASM
Qunar Tech Salon
Qunar Tech Salon
Nov 23, 2018 · Operations

BTrace: Introduction, Quick Start, and Detailed Usage Guide

This article introduces BTrace, a lightweight JVM tracing tool, explains its capabilities and limitations, provides step‑by‑step installation and configuration instructions, demonstrates example scripts for monitoring thread pools and other runtime information, and discusses usage scenarios, annotations, and related tools.

BTraceJVM tracingJava debugging
0 likes · 17 min read
BTrace: Introduction, Quick Start, and Detailed Usage Guide