Tag

BTrace

0 views collected around this technical thread.

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.

ArthasBTraceBytecode
0 likes · 15 min read
Understanding Java Object Behavior, Method Area, and Dynamic Tracing with Instrumentation, BTrace, and Arthas
Aikesheng Open Source Community
Aikesheng Open Source Community
Dec 12, 2022 · Backend Development

Investigating Off‑Heap Memory Leak in Dble Using Java NIO and BTrace

This article walks through a real‑world case of off‑heap memory leakage in the Dble proxy, detailing symptom observation, log analysis, monitoring, BTrace instrumentation, code review, and the eventual fix that delays buffer allocation until needed.

BTraceDBLEJava NIO
0 likes · 11 min read
Investigating Off‑Heap Memory Leak in Dble Using Java NIO and BTrace
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.

BTraceBytecodeDynamic Tracing
0 likes · 16 min read
Understanding Java Object Behavior, Method Area, and Dynamic Tracing with Instrumentation, BTrace, and Arthas
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.

AppTraceBTraceDatabase Monitoring
0 likes · 9 min read
AppTrace: An Automated System for Detecting and Analyzing Slow SQL in Application Performance Testing
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.

ArthasBTraceBytecode
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.

BTraceGCJava
0 likes · 10 min read
Why Is My Java Service Stalling? Uncovering GC, Safepoint, and Log4j2 Bottlenecks
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.

BTraceInstrumentationJVM tracing
0 likes · 17 min read
BTrace: Introduction, Quick Start, and Detailed Usage Guide