Tagged articles
126 articles
Page 2 of 2
Xianyu Technology
Xianyu Technology
May 12, 2020 · Mobile Development

FlutterCodeX: Runtime Code Coverage SDK for Flutter Apps

FlutterCodeX introduces a non‑intrusive, cross‑platform runtime code‑coverage SDK that instruments iOS, Android and Flutter apps—using meta‑class flags, Gradle‑injected static blocks, and the Dart AOP framework AspectD—to automatically record class‑initialization events, upload compressed data to Alibaba Cloud, and provide precise online coverage metrics for dead‑code removal and package‑size reduction in Xianyu.

AspectDFlutterInstrumentation
0 likes · 8 min read
FlutterCodeX: Runtime Code Coverage SDK for Flutter Apps
Java Captain
Java Captain
Mar 12, 2020 · Backend Development

Using Arthas for Java Hot Code Update and Runtime Debugging

This guide explains how to use Alibaba's Arthas tool to attach to a running Java process, inspect JVM metrics, execute hot code updates, and troubleshoot production issues without redeploying, covering download, common commands, and step‑by‑step hot‑swap procedures.

ArthasHot UpdateInstrumentation
0 likes · 5 min read
Using Arthas for Java Hot Code Update and Runtime Debugging
Youzan Coder
Youzan Coder
Jan 6, 2020 · Mobile Development

Precise Mobile Testing Platform: iOS Code Coverage Instrumentation and Incremental Coverage Analysis

The article details Youzan Retail’s precise iOS testing platform, which instruments Objective‑C code via GCC/LLVM to generate .gcno/.gcda files, processes them with LCOV, and provides both full and git‑diff‑based incremental coverage visualizations across CI, data collection, parsing, and reporting layers to improve manual and automated test quality.

Instrumentationcode coveragegit diff
0 likes · 18 min read
Precise Mobile Testing Platform: iOS Code Coverage Instrumentation and Incremental Coverage Analysis
Meituan Technology Team
Meituan Technology Team
Nov 7, 2019 · Backend Development

Dynamic Java Debugging Techniques and Java‑Agent Implementation

The article explains why production‑grade Java debugging must avoid stopping the JVM, then details Java‑Agent technology—including JVMTI, startup and runtime loading via the Attach mechanism—and shows how class redefinition and ASM‑based bytecode instrumentation can be combined in a TCP‑server tool to perform online fault isolation without pausing the application.

AgentInstrumentationJVMTI
0 likes · 34 min read
Dynamic Java Debugging Techniques and Java‑Agent Implementation
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
Youzan Coder
Youzan Coder
Sep 25, 2019 · Frontend Development

Design and Implementation of a Front-End Integration Test Coverage Tool

The project implements a front‑end integration test coverage tool that instruments client code with a Babel plugin and server code with istanbul‑middleware, collects real‑time line/branch data via a Chrome extension and timed uploads, stores versioned results on a coverage server, and visualizes incremental coverage dashboards, providing an objective quality gate and achieving over 80 % incremental line coverage in production.

InstrumentationIstanbulNode.js
0 likes · 10 min read
Design and Implementation of a Front-End Integration Test Coverage Tool
iQIYI Technical Product Team
iQIYI Technical Product Team
Sep 6, 2019 · Mobile Development

Code Coverage Instrumentation and Analysis for iOS Projects

To meet strict quality goals for iOS projects, the article describes adopting intermediate‑file code‑coverage instrumentation, generating gcno/gcda files, using lcov for full and incremental analysis, and integrating the process into builds and CI to enforce coverage thresholds and guide test‑case design.

InstrumentationSoftware qualitycode coverage
0 likes · 12 min read
Code Coverage Instrumentation and Analysis for iOS Projects
Meituan Technology Team
Meituan Technology Team
Sep 5, 2019 · Backend Development

Unlocking Java Bytecode: From Structure to Runtime Enhancement

This article explains Java bytecode fundamentals, its class‑file layout, constant‑pool details, and then walks through practical bytecode‑enhancement techniques using ASM, Javassist, and the Instrument API to modify and reload classes at runtime for AOP, hot‑deployment and monitoring purposes.

ASMAgentInstrumentation
0 likes · 28 min read
Unlocking Java Bytecode: From Structure to Runtime Enhancement
NetEase Media Technology Team
NetEase Media Technology Team
Jul 26, 2019 · Backend Development

Java Dynamic Bytecode Enhancement Technology Applications and Practices

Java dynamic bytecode enhancement uses agents, the Instrumentation API, and the Attach API to modify class bytecode at load time without source changes, enabling non‑intrusive AOP features that power tools such as JRebel for hot deployment, Pinpoint for distributed tracing, Arthas for diagnostics, JVM‑SANDBOX for sandboxed interception, and JRARP for method call recording and playback.

AgentDynamic EnhancementInstrumentation
0 likes · 18 min read
Java Dynamic Bytecode Enhancement Technology Applications and Practices
Didi Tech
Didi Tech
Jul 5, 2019 · Mobile Development

Understanding and Optimizing Android Activity Startup Performance

Android activity startup latency stems from three phases—Pause, Launch, and Render—so optimizing only onCreate often leaves perceived delays; developers can measure each phase via system logs or AOP hooks (Instrumentation, Looper‑Printer, or ActivityThread handler) to pinpoint and reduce bottlenecks.

ActivityAndroidHook
0 likes · 21 min read
Understanding and Optimizing Android Activity Startup Performance
Meitu Technology
Meitu Technology
Apr 22, 2019 · Mobile Development

MTHawkeye: iOS Debugging and Performance Optimization Toolkit

MTHawkeye is Meitu’s iOS debugging and performance‑optimization toolkit that provides a three‑layer architecture—foundation, UI foundation, and plugin layers—to assist developers across development, testing, and production by offering memory leak detection, main‑thread profiling, CPU, network, graphics, storage monitoring, and integrated FLEX utilities.

APMDebuggingInstrumentation
0 likes · 8 min read
MTHawkeye: iOS Debugging and Performance Optimization Toolkit
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
Beike Product & Technology
Beike Product & Technology
Dec 20, 2018 · Backend Development

Guide to Developing SkyWalking Java Agent with Byte Buddy and Plugin Implementation

This tutorial explains how to use Byte Buddy to build a JavaAgent for SkyWalking, debug and continuously integrate the agent, and develop custom SkyWalking plugins such as the kob scheduling framework, providing step‑by‑step code examples and configuration details for observability in Java backend services.

APMByteBuddyInstrumentation
0 likes · 12 min read
Guide to Developing SkyWalking Java Agent with Byte Buddy and Plugin Implementation
Qunar Tech Salon
Qunar Tech Salon
Nov 29, 2018 · Backend Development

Java Agent Instrumentation for AOP Method Timing without Spring

This article explains how to implement Java Instrumentation using a custom Java agent to achieve AOP‑style method timing without Spring, covering Instrument concepts, Maven manifest configuration, Agent entry points, JDK Attach API loading, class file transformers, annotation processing, and integration with QTrace for full‑stack tracing.

Annotation ProcessingInstrumentationJava Agent
0 likes · 12 min read
Java Agent Instrumentation for AOP Method Timing without Spring
Beike Product & Technology
Beike Product & Technology
Oct 26, 2018 · Backend Development

Understanding JavaAgent: JVM Tool Interface, Implementation Principles, and Bytecode Manipulation Conflicts

This article explains the JavaAgent feature introduced after JDK 1.5, its reliance on JVMTI and JPLISAgent, how to write premain classes and class file transformers, the role of MANIFEST.MF, and analyzes conflicts between Javassist‑based and ByteBuddy‑based agents when they modify the same class.

ByteBuddyInstrumentationJVM
0 likes · 17 min read
Understanding JavaAgent: JVM Tool Interface, Implementation Principles, and Bytecode Manipulation Conflicts
Meituan Technology Team
Meituan Technology Team
Jul 12, 2018 · Mobile Development

Automated Page Speed Measurement Plugin for Android Apps

The Meituan Android team built an automated, non‑intrusive page‑speed plugin that injects SDK calls at compile time via a Gradle Transform, measures cold‑start, first render, network request and second render for Activities and Fragments—including ViewPager lazy loading—fetches real‑time config from a server and reports metrics to their monitoring platform.

AndroidGradleInstrumentation
0 likes · 22 min read
Automated Page Speed Measurement Plugin for Android Apps
转转QA
转转QA
May 15, 2018 · Fundamentals

Overview of Code Coverage and Differential Coverage Methods Using JaCoCo

This article explains the concept, measurement dimensions, and practical issues of code coverage, compares full and differential coverage, describes JaCoCo's on‑the‑fly and offline instrumentation techniques, and outlines how to resolve instrumentation conflicts in a Java service environment.

InstrumentationJaCoCoSoftware quality
0 likes · 7 min read
Overview of Code Coverage and Differential Coverage Methods Using JaCoCo
Architects Research Society
Architects Research Society
May 6, 2017 · Fundamentals

Challenges in Measuring Battery Life for IoT Devices and Recommended Instrumentation Techniques

The article explains how the extremely low current and voltage consumption of IoT devices creates difficult measurement challenges for battery‑life estimation, discusses the limitations of conventional oscilloscopes, and outlines low‑noise instrumentation, signal‑conditioning, and multi‑function approaches engineers should adopt.

Battery LifeInstrumentationIoT
0 likes · 5 min read
Challenges in Measuring Battery Life for IoT Devices and Recommended Instrumentation Techniques
Baidu Intelligent Testing
Baidu Intelligent Testing
Dec 15, 2016 · Mobile Development

Measuring Android App Startup Time: ADB Commands, Screen Recording, and Code Instrumentation

Android applications often suffer from high battery drain, slow launches, and UI lag, so this article explains three practical methods—using ADB commands, screenrecord video analysis, and code instrumentation—to measure and analyze app startup time, with detailed steps, interpretation of timing metrics, and visual examples.

ADBAndroidInstrumentation
0 likes · 7 min read
Measuring Android App Startup Time: ADB Commands, Screen Recording, and Code Instrumentation
Art of Distributed System Architecture Design
Art of Distributed System Architecture Design
Oct 15, 2016 · Backend Development

Intrusive vs. Java Dynamic Proxy Techniques for Measuring Method Performance

This article explains how to measure the execution time of Java methods by first using an intrusive approach that embeds timing code directly in each method, then introduces a cleaner solution based on Java's dynamic proxy mechanism to separate performance monitoring from business logic.

Backend DevelopmentDynamic ProxyInstrumentation
0 likes · 5 min read
Intrusive vs. Java Dynamic Proxy Techniques for Measuring Method Performance