oracle / oracle/visualvm

Show line numbers alongside all method names

Open
#408 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
3.3k
Forks
334
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.
When a stack trace or GC trace references method invocations it's not clear which line number the method is on, especially when the trace references a lambda function.

Describe the solution you'd like
Add line numbers to any entry that references a function, especially for lambdas.

Describe alternatives you've considered
Convert lambdas to named methods, but this is a lot of work for large programs.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the code that renders stack traces or GC traces and identifies method invocations, including lambda entries. The work is complete when every function entry shows its line number, especially lambda functions, and the affected traces display the added information.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.