btrace

BTrace - a safe, dynamic tracing tool for the Java platform

Stars
5.7K
Committers
27

Bot releases are hidden (Show)

btrace - v2.2.4

Published by jbachorik 6 months ago

What's Changed

Full Changelog: https://github.com/btraceio/btrace/compare/v2.2.4...v2.2.5

btrace - v2.2.4

Published by jbachorik about 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/btraceio/btrace/compare/v2.2.3...v2.2.4

btrace - v2.2.3

Published by jbachorik almost 2 years ago

Changelog

v2.2.3 (2022-12-23)

What's Changed

New Contributors

Full Changelog: https://github.com/btraceio/btrace/compare/v2.2.2...v2.2.3

btrace - v2.1.0

Published by jbachorik over 3 years ago

Changelog

v2.1.0 (2021-01-24)

Full Changelog

Fixed issues:

  • BTrace support for custom JFR events #429
  • Do not generate cushion methods when Indy is used #431
  • Initial support of unattended mode #430

* This Changelog was automatically generated by github_changelog_generator

btrace - v2.0.3

Published by jbachorik almost 4 years ago

Changelog

v2.0.3 (2020-11-07)

Full Changelog

Fixed issues:

  • Fix variable mapper behavior in corner cases #425
  • BTrace checks only first return in traced method #426

* This Changelog was automatically generated by github_changelog_generator

btrace - v2.0.2

Published by jbachorik over 4 years ago

Changelog

v2.0.2 (2020-05-24)

Full Changelog

Fixed issues:

  • @OnMethod with @Location(RETURN) and @Level causes NoSuchFieldError: $btrace$$level #419
  • Traced application can deadlock on exit #417
  • Cannot print info to console #416
  • compiled failed with "Could not target platform: 'Java SE 11' using tool chain: 'JDK 9 (1.9)'." #404
  • java.lang.VerifyError: Inconsistent stackmap frames at branch target 475 with Btrace 2.0 #401
  • Unable to open socket file: target process not responding or HotSpot VM not loaded #395

Closed issues:

  • Btracec compiled failure with IBM-JDK #403
  • I am interested in why don't provide a method in BTraceUtils to println all fields of an object? #285
  • QUESTION: How to expose Aggregation details through MBean? #270
  • visible example #217
  • Feature Request: Add tracing of native methods #115
  • [BTRACE-78] Ability to find values of local variables when reaching specific line number using @Location #25
  • Can't track object creation #356
  • can btrace implement hot swap? #346
  • Collect stacks from AsyncGetCallTrace #310
  • Replace the legacy profiling infrastructure with HDRHistogram #297
  • No console output if not in verbose mode #254
  • [BTRACE-74] Make it easier to write a BTrace script which detects concurrent access to an object. #77
  • [BTRACE-107] Kind.CALL event missed #70
  • [BTRACE-121] Kind.CALL support for overlapping instrumentation is not optimal #69
  • [BTRACE-116] Optimize access to the current BTrace runtime in the injected handler methods #68
  • [BTRACE-54] Object count for instrumented classes #38

* This Changelog was automatically generated by github_changelog_generator

btrace - v2.0.1

Published by jbachorik over 4 years ago

Changelog

v2.0.1 (2020-04-19)

Full Changelog

Closed issues:

  • Compilation fail on windows 10 x64 #413
  • Wiki imports don't work with openjdk #410
  • a bug in btrace script? #408
  • ArrayIndexOutOfBoundsException in VariableMapper #377
  • Does this support OpenJdk11? #374
  • Allow attaching to a JVM by its name #402

* This Changelog was automatically generated by github_changelog_generator

btrace - v2.0.0

Published by jbachorik over 4 years ago

Changelog

2.0.0

Full Changelog

Implemented enhancements:

  • JPMS support (Java 9, 10 and 11) #374

Fixed bugs:

  • Starting 2 different Btrace processes in 1 server ran into infinite loop? #396
  • ArrayIndexOutOfBoundsException in VariableMapper #377
  • sometimes ctrl-c and select exit will cause jvm throw java.lang.NoSuchMethodError and crash #344
  • Problematic remapping of variable slots originally taken by padding #341
  • tracing using compiled script may not work #381
  • btrace WARNING: java.lang.ArrayIndexOutOfBoundsException: 11818 #387

* This Changelog was automatically generated by github_changelog_generator

btrace - v1.3.11.3

Published by jbachorik almost 6 years ago

v1.3.11.3 (2018-12-17)

Binaries also available from bintray.com

Full Changelog

Fixed bugs:

  • Stackmap frame incorrectly generated for reused variables of differing length #372

* This Change Log was automatically generated by github_changelog_generator

btrace - v1.3.11.2

Published by jbachorik almost 6 years ago

v1.3.11.2 (2018-12-02)

Binaries also available from bintray.com

Full Changelog

Fixed bugs:

  • Caused by: java.lang.VerifyError: Bad local variable type #262
  • Relax class transformation synchronization #369
  • ArrayIndexOutOfBoundsException: 8 at InstrumentingMethodVisitor.java:1337 #367
  • java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String #333

Closed issues:

  • onThrow.java sample not working #370
  • AllMethod regex not working #368
  • Stucked when executes ./gradlew build under jdk1.7.0_80 #352

Merged pull requests:

* This Change Log was automatically generated by github_changelog_generator

btrace - v1.3.11.1

Published by jbachorik about 6 years ago

v1.3.11.1 (2018-09-01)

Full Changelog

Fixed bugs:

  • Problematic remapping of variable slots originally taken by padding #341
  • @Location(value = Kind.ERROR) changes the execution path in case the error is catched and not thrown in code #335
  • StringIndexOutOfBoundsException on 1.3.10+ #357
  • Retransformation should ignore IllegalStateException if a webapp is stopped in a countainer #351
  • ./gradlew buildDistribution can not resolve nebula.ospackage #350
  • java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException #349
  • Invalid 'libs' configuration [null] #347
  • Template extraction is broken for values ending with "$" #345
  • NoClassDefFoundError #343
  • java.lang.NoClassDefFoundError: Test$1 #332
  • regex matching not working #340
  • Agent defined named properties ignored for dynamically attached agents #336

Closed issues:

  • Could I use btrace to track methods in sun.misc.Unsafe? #348
  • How to install btrace on visualVM #342
  • The lastest version code contrains errors when execute "./gradlew build" with jdk1.8.0_162 and gradle 4.7 #334
  • Not able to see any stack trace related to my btrace #331
  • my java script is too Bigger,can't run #325
  • Location(kind = Kind.NEWARRAY) dimension always 1 #318
  • how to run CRNK application with jersey Example #314
  • BTraceUtils.str don't invoke toString() when instance is not in a collection. #226

* This Change Log was automatically generated by github_changelog_generator

btrace - v1.3.11

Published by jbachorik over 6 years ago

Change Log

Full Changelog

New Features and Improvements

  • Provide JVM startup agent arguments via Sys.$(arg) #295
  • Passing the class name dynamically to clazz parameter in BTrace script #298
  • Invalid 'libs' argument should be detected and logged as warning #320
  • BTraceUtils.printArray() should accept also primitive arrays #322
  • Provide support for method parameters for CATCH, THROW and ERROR #327
  • Allow specifying file extension for BTrace script packs #329

Fixed bugs:

  • Impossible to build btrace with jdk1.7(jdk1.8 works fine) #323
  • BTraceUtils.subtsr() parameter 'length' name is confusing #279

* This Change Log was automatically generated by github_changelog_generator

btrace - v1.3.10.2

Published by jbachorik over 6 years ago

Change Log

Full Changelog

Fixed bugs:

  • Generating JavaDoc Task Fails #274
  • Regression: NPE in Preprocessor.loadEventHandlers when trying to attach #305

* This Change Log was automatically generated by github_changelog_generator

btrace - v1.3.10.1

Published by jbachorik almost 7 years ago

Full Changelog

Fixed bugs:

  • Using v1.3.10 fails with java.lang.VerifyError: StackMapTable error: bad offset #304

* This Change Log was automatically generated by github_changelog_generator

btrace - v1.3.10

Published by jbachorik almost 7 years ago

Full Changelog

Implemented enhancements:

  • Allow exact type matching in signature checks #294
  • Implement custom stackmap frame generation to avoid common supertype resoultions #293
  • Pre-process and pre-verify BTrace probes during compilation #291
  • Improve handling of the 'category' for embedded agent.properties #273

Fixed bugs:

  • Bug: java.lang.VerifyError: Bad type on operand stack #283
  • SYNC_ENTRY/EXIT instrumentor broken after #264 #269
  • btrace doesn't execute OnExit event #266
  • synchronized on method synExit never trigger! #264

Closed issues:

  • Update JCTools to 2.1.1 #302
  • Btrace failed in openjdk8 due to SecurityException #296
  • Running JVM with BTrace agent and scripts should default 'noServer' to true #289
  • Application running on jdk 1.7.0_79 crash when btrace attach #284
  • NoClassDefFoundError of <TraceScript> in JBoss EAP7 #282
  • Issue about buffer flushing. #281
  • cannot get instance property #280
  • traced method by annotation is not working well #278
  • Got java.lang.IllegalArgumentException after starting the btrace #277
  • java.lang.NoClassDefFoundError: sun/reflect/GeneratedMethodAccessor #275
  • Missing information about time units for the duration reported by @Duration annotated parameter #265

Merged pull requests:

btrace - v1.3.9

Published by jbachorik almost 8 years ago

Change Log v1.3.9 (2017-01-11)

Full Changelog

Implemented enhancements:

  • Add more substitutions for output file name templating #261
  • Add support for configuration in 'agent.properties' #260
  • Introduce convention for agent libs locations #259
  • Make BTrace less scary by using 'trusted' mode instead of 'unsafe' #258
  • BTrace causes JVM to crash on call tracing #240

Fixed bugs:

  • Quantize throws java.lang.ArrayIndexOutOfBoundsException #253
  • Specifying a method by annotation will not match in @OnMethod #249
  • Problems tracing application server #231

Closed issues:

  • Improve BTrace startup time #263
  • Invoking methods on injected services is causing verification error #256
  • How to print the local variable #255
  • Tracing all object allocations #252
  • fail to use btrace with 1.7.0_80 on mac #251
  • Get Broken Pipe SocketException after exit brace. #250

* This Change Log was automatically generated by github_changelog_generator

btrace - v1.3.8.3

Published by jbachorik about 8 years ago

Change Log v1.3.8.3

Full Changelog

Merged pull requests:

* This Change Log was automatically generated by github_changelog_generator

btrace - v1.3.8.2

Published by jbachorik about 8 years ago

Change Log (v1.3.8.2)

Full Changelog

Fixed bugs:

  • Unnecessary processing of methods not passing through instrumentation filter #245
  • Application can hang on exit when using static BTrace agent #244
  • BTrace agent connection not properly shut down when leaving the dynamically attached session #239

Closed issues:

  • FAILURE: Build failed with an exception #242

Merged pull requests:

  • Several micro-optimizations on the instrumentation critical path #246 (jbachorik)

* This Change Log was automatically generated by github_changelog_generator

btrace - v1.3.8.1

Published by jbachorik about 8 years ago

Change Log (v1.3.8.1)

Full Changelog

Critical issue:

  • Classes with multiple intersecting interfaces are confusing the stackmap frame generator #238

* This Change Log was automatically generated by github_changelog_generator

btrace - v1.3.8

Published by jbachorik about 8 years ago

Change Log (v1.3.8)

Full Changelog

Implemented enhancements:

  • Allow also augmenting the 'script' parameter from the agent.properties #235

Closed issues:

  • NPE in logs when trying to run unsafe script without unsafe mode enabled #237
  • Verifier does not allow simple 'return' from handler methods. #236
  • java.lang.ArrayIndexOutOfBoundsException when connecting to JVM #234
  • AllCalls1Sampled.java cause the target process to throw NullPointerException #228

Merged pull requests:

  • Print toString() of all exceptions in the chain. #233 (draghuram)

* This Change Log was automatically generated by github_changelog_generator