ByteVarFinder: Bytecode-Level Logging-Variable Recommendation and Runtime Monitoring for Java Services
Taizheng Wang, Chunyang Ye, Hui Zhou, Wei Chang, Chaoyi Li
Key points
From the paper's conclusion- We present ByteVarFinder, a framework for bytecode-level logging-variable recommendation and runtime monitoring.
Abstract
Logging-variable selection determines which runtime values are recorded by Java services. When source code is unavailable or cannot be modified, bytecode analysis and instrumentation provide a basis for recommending and collecting such values. We present ByteVarFinder, a framework for bytecode-level logging-variable recommendation and runtime monitoring. The framework combines instruction semantics encoded by a bidirectional LSTM with control-flow structure modeled by a GCN to rank candidate local variables. Variables recorded in existing logging statements provide proxy supervision reflecting developers’ logging-variable selections. An ASM-based instrumentation tool records selected variable values at configured load and store operations. Experiments on seven Java projects show that the fusion model outperforms the evaluated baselines in agreement with existing logging-variable selections. Ablation and cross-project experiments assess the contributions of the two representations and the transferability of learned selection patterns. Runtime experiments on Hive, Flink, and Camel quantify resource utilization, throughput reduction, and latency increase under different monitoring budgets. These results establish recommendation performance and measured instrumentation costs under the evaluated settings; improvements in fault diagnosis require separate validation.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Automated Logging Is Language-Sensitive: A Multilingual Benchmark and Empirical Study of LLMsACM Transactions on Software Engineering and Methodology · 2026
- Retrieval Supersedes Scale: Efficient Log Level Prediction via Multiplex Socio-Technical ContextarXiv · 2026
- An invariant-guided model for automated detection of anomalous execution regimes from production telemetry.PloS one · 2026
- A Hybrid Framework for LLM-Assisted Concept Drift Analysis in Process MiningApplied Sciences · 2026
- Following breadcrumbs in codeEmpirical Software Engineering · 2026
- LogNexus: Effective Log Compression via Unified Redundancy EncodingProceedings of the ACM on Software Engineering · 2026