Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix #1505] Avoid many instances of DefaultNodeInstanceFactory #3689

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

fjtirado
Copy link
Contributor

@fjtirado fjtirado commented Oct 2, 2024

Fix #3688

Its unclear if the instances seen in the profiler run are caused by the modified code (Im pretty skeptic, something else is going on) but nevertheless I think the change makes sense.

Copy link
Contributor

@elguardian elguardian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This factory only works in codegen. But it is good fix anyway.

Copy link
Contributor

@gmunozfe gmunozfe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't affect performance, still investigating, but code it's clearer.

@fjtirado fjtirado merged commit 626bbed into apache:main Oct 8, 2024
6 checks passed
rgdoliveira pushed a commit to rgdoliveira/kogito-runtimes that referenced this pull request Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Too many instances of DefaultNodeInstanceFactory
3 participants