Skip to content
New issue

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

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

Already on GitHub? # to your account

Unnecessary concurrency contention at PageContext #13

Open
glassfishrobot opened this issue Jan 10, 2013 · 3 comments
Open

Unnecessary concurrency contention at PageContext #13

glassfishrobot opened this issue Jan 10, 2013 · 3 comments

Comments

@glassfishrobot
Copy link

There is unnecessary concurrency contention at org.apache.jasper.runtime.PageContextImpl:213 :

setAttribute(Constants.FIRST_REQUEST_SEEN, "true", APPLICATION_SCOPE);

PageContext initialized on every page request. Doing setAttribute with application scope and the same name cause blocking of concurrent requests.

I can't find any usages of Constants.FIRST_REQUEST_SEEN. Consider this line to be removed.

@glassfishrobot
Copy link
Author

@glassfishrobot Commented
Reported by dernasherbrezon

@glassfishrobot
Copy link
Author

@glassfishrobot Commented
This issue was imported from java.net JIRA JSP-34

@glassfishrobot
Copy link
Author

@glassfishrobot glassfishrobot self-assigned this Aug 17, 2018
@markt-asf markt-asf transferred this issue from jakartaee/pages Dec 23, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant