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

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
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

No branches or pull requests

1 participant