Skip to content
This repository has been archived by the owner on Oct 16, 2020. It is now read-only.

Gaps in call depths #22

Open
kajdreef opened this issue Aug 12, 2016 · 2 comments
Open

Gaps in call depths #22

kajdreef opened this issue Aug 12, 2016 · 2 comments
Assignees
Labels
Projects

Comments

@kajdreef
Copy link
Member

kajdreef commented Aug 12, 2016

Below is a small part of the execution trace collected with blinky. I filtered all the execution out that have to do with thread 15.

['$$$', '67387', '15', '4875', '7', '910123336', '9393', '$enter$', 'NA\n']
['$$$', '67388', '15', '4875', '8', '1848651233', '9395', '$enter$', 'NA\n']
['$$$', '67389', '15', '4875', '8', '1848651233', '9397', '$enter$', 'NA\n']
['$$$', '67390', '15', '4876', '5', '1848651233', '9401', '$enter$', 'NA\n']
['$$$', '67391', '15', '4876', '6', '1848651233', '9397', '$enter$', 'NA\n']
['$$$', '67392', '15', '4876', '6', '1848651233', '9403', '$enter$', 'NA\n']

The call depth calculated by (blinky) is [7, 8, 8, 5, 6, 6]. So blinky seems to not instrument all the code causing gaps in the call depth. Is there away to make sure all the code is instrumented so we will make sure these gaps will not occur?
Or can it be that it is because of a different problem that we have gaps in our call depth? (I assume here that if a thread starts at a specific call depth it is not possible to go below that. So if our call depth starts at 7 then it shouldn't be able to go to 6 or lower.)

@VijayKrishna VijayKrishna self-assigned this Aug 14, 2016
@VijayKrishna
Copy link
Member

VijayKrishna commented Aug 14, 2016

can you provide the methods that are being referenced by the method event ids: 9393, 9395, 9397, 9401, and 9403 ??

@kajdreef
Copy link
Member Author

kajdreef commented Sep 8, 2016

Sorry, for getting back to you so late, but here are the methods that are being referenced by those method ids.

9393 - ['openConnection(Ljava/net/URL;)Ljava/net/URLConnection;', 'org/gjt/sp/jedit/proto/jeditresource/Handler', '1\n']
9395 - ['<init>(Ljava/net/URL;)V', 'org/gjt/sp/jedit/proto/jeditresource/PluginResURLConnection', '1\n']
9397 - ['connect()V', 'org/gjt/sp/jedit/proto/jeditresource/PluginResURLConnection', '1\n']
9401 - ['getInputStream()Ljava/io/InputStream;', 'org/gjt/sp/jedit/proto/jeditresource/PluginResURLConnection', '1\n']
9403 - ['getHeaderField(Ljava/lang/String;)Ljava/lang/String;', 'org/gjt/sp/jedit/proto/jeditresource/PluginResURLConnection', '1\n']

Also here is the original trace. The program is jEdit.

It is not a big problem for us, but we were just curious what is going on here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
Core
New
Development

No branches or pull requests

2 participants