Skip to content

WW-5630 - Performance Issue SecurityMemberAccess (#1721) - Cherrypick to 6.x.x#1736

Open
brianandle wants to merge 1 commit into
apache:support/struts-6-x-xfrom
brianandle:WW-5630_6_x
Open

WW-5630 - Performance Issue SecurityMemberAccess (#1721) - Cherrypick to 6.x.x#1736
brianandle wants to merge 1 commit into
apache:support/struts-6-x-xfrom
brianandle:WW-5630_6_x

Conversation

@brianandle

Copy link
Copy Markdown
Contributor
  • WW-5630 - Performance Issue SecurityMemberAccess
  • Add size bound cache, 50, for Class lookup
  • Add unit test

Code generated by Copilot

  • WW-5630 - Add additional UT

  • WW-5630 - Add UT for non-existent class

  • WW-5630 - Review feedback changes

  • Cache ClassLoader directly

  • Use weakKeys and weakValues

  • Comment on the ClassLookupException

  • Additional Unit Tests

Assistance in coding using co-pilot

  • WW-5630 - Additional review
  • Limit outer, Classloader, to 25. Ensure memory bounding.
  • Limit inner, Classes, to 50. Ensure memory bounding.
  • Additional UTs

With co-pilot assitance

(cherry picked from commit 210dc86)

* WW-5630 - Performance Issue SecurityMemberAccess
* Add size bound cache, 50, for Class lookup
* Add unit test

Code generated by Copilot

* WW-5630 - Add additional UT

* WW-5630 - Add UT for non-existent class

* WW-5630 - Review feedback changes
* Cache ClassLoader directly
* Use weakKeys and weakValues
* Comment on the ClassLookupException
* Additional Unit Tests

Assistance in coding using co-pilot

* WW-5630 - Additional review
* Limit outer, Classloader, to 25. Ensure memory bounding.
* Limit inner, Classes, to 50. Ensure memory bounding.
* Additional UTs

With co-pilot assitance

(cherry picked from commit 210dc86)
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.

1 participant