Skip to content

Link: work-ceiling retries without alternatives cost ~6 min on fernflower #92

Open

Description

@bnaudts

Follow-up to #89 (fix 9d4c768). With alternatives on, about a dozen methods per iteration reach the work ceiling in LinkComputerImpl.doMethod and are analysed a second time without alternatives. On fernflower (PARALLEL=1) that comes to:

setting run time ceiling retries
alternatives off 29 min 0
alternatives + both #89 rules 35 min 117
fresh-object rule only 37 min 137

The retries recur every iteration for the same methods: each time they spend the full ceiling and then fall back.

Ideas:

On guava there are no retries (0 in both legs), so this is a fernflower-shaped cost.

Activity

  1. added
    enhancementNew feature or request
    engine:linkThe link engine and shared-variable reconstruction
    on Nov 3, 2026
  2. bnaudts commented on Nov 6, 2026

    @bnaudts
    Author

    Probably the same cause as #97. DomHelper.findGeneralStatement sits at 87% of the work ceiling with 15,302 ∩ facts out of about 16,950 (90%). About half are materialized from dying temporaries, and most of the rest is ∩ copied along aliases. Details and the proposed direction in #97.

  3. 10 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    engine:linkThe link engine and shared-variable reconstructionenhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions