On 05/15/20 06:41 am, Ian Rogers wrote: > > If you are looking at this code I believe there is a bug in that the > loop handling jvmtiCompiledMethodLoadInlineRecord is writing out the > entire line number table before a pc and not just the line number > table at the pc. This loop in do_get_line_numbers: > > if (loc_tab[i].start_location < bci) { > tab[lines].pc = (unsigned long)pc; > tab[lines].line_number = loc_tab[i].line_number; > tab[lines].discrim = 0; /* not yet used */ > tab[lines].methodID = m; > lines++; > } else { > > It could possibly make sense if it were iterating over the inline data > in the jvmtiCompiledMethodLoadInlineRecord rather than the line number > table. > Fixing this is toward the end of a list of things I need to look at. >
OK sure, I'll have a look at this. Thanks for the reviews. -- Thanks, Nick