Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[BTRACE-116] Optimize access to the current BTrace runtime in the injected handler methods #68

@jbachorik

Description

@jbachorik

[reporter="j.bachorik", created="Thu, 10 Jul 2014 20:48:14 +0200"]

Frequently used BTrace functions (like "print" or "println") require access to the BTrace runtime associated with the current thread. This access incurs additional overhead which is avoidable. The current BTrace runtime is resolved right upon entering the handler method and so it can be stored in a local variable for fast reuse later.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions