Skip to content

A very long invocation of the invokedynamic instruction caused the program to not respond #914

Open
@luiox

Description

@luiox

Describe the bug

I use 4.0.0 recaf. This is built by the latest master branch.

I use recaf to modify a method, and I found when I try to use the vertical slider to view the following content, the program will not respond.

In this method, there are many, many invokedynamic such as the following form. I reduced the quantity of \u0020. When the amount of \u0020 is stacked enough, the scrollbar will no longer function.


invokedynamic \u0020\u0020\u0020\u0020\u0020\u0020, (Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;)Ljava/lang/invoke/CallSite; } { "ߕߞ߉ߞޑߓߞߑߘޑ߬߆ߌߋߚߒ", "ߘߚߋߚߑ߉", "ޗ߳ߕߞ߉ߞސߓߞߑߘސ߬ߋߍߖߑߘބޖ߳ߕߞ߉ߞސߓߞߑߘސ߬ߋߍߖߑߘބ", 0 }

I hope that if there are many identical forms, such as a long string of \u0020, they can be folded up. This may reduce the jam.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions