Reproduction steps:
1. Create and open a new project
2. Import >1000 Assets to the project
3. Open the Package Manager (Window > Package Manager)
4. In the Package Manager Window, select the “Packages” dropdown and select “My Assets”
5. Observe the Editor
Expected result: The Editor does not freeze
Actual result: The Editor becomes unresponsive with a "Waiting for Unity Code to finish executing" message
Reproducible with: 2022.3.4f1
Reproducible on: Windows 10
Not reproducible on: No other environment tested
Note: There was no local reproduction of the issue