eclipse-ee4j / eclipse-ee4j/wasp

Unnecessary concurrency contention at PageContext

Open
#13 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
8
Forks
11
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.