Skip to content

[java] less memory allocation#12320

Merged
diemol merged 1 commit intoSeleniumHQ:trunkfrom
joerg1985:allocation
Jul 10, 2023
Merged

[java] less memory allocation#12320
diemol merged 1 commit intoSeleniumHQ:trunkfrom
joerg1985:allocation

Conversation

@joerg1985
Copy link
Copy Markdown
Member

Description

Optimized atoms and the grid server to create less garbage objects.

Motivation and Context

Will reduce the gc needed while polling e.g. for an element to get visble. Helps also when a grid server handles alot of sessions, usually returning only some bytes to the client.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • I have read the contributing document.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@joerg1985
Copy link
Copy Markdown
Member Author

PS: i just added one change, to not create a stack trace if the logger will dispose this log message.

@diemol diemol merged commit 2382736 into SeleniumHQ:trunk Jul 10, 2023
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.

2 participants