Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Instrument all classes in
instrumented
package.
Extend instrumenting infrastructure to instrument classes in `instrumented` package. This is useful because very often you need to put your classes into non-empty package. E.g. inliner doesn't work properly with empty package at the moment so in order to test any behaviour we need to put classes in some other package that is instrumented. Added testing code for that to instrumentation test-case. Review by @phaller.
- Loading branch information
1 parent
ad08f24
commit 9e04e23
Showing
3 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
true | ||
Method call statistics: | ||
1 Foo1.<init>()V | ||
1 Foo1.someMethod()I | ||
1 instrumented/Foo2.<init>()V | ||
1 instrumented/Foo2.someMethod()I | ||
1 scala/Predef$.println(Ljava/lang/Object;)V | ||
1 scala/runtime/BoxesRunTime.boxToBoolean(Z)Ljava/lang/Boolean; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters