eclipse-ee4j / eclipse-ee4j/wasp

Excessive memory use & GC caused by use of exception for control flow

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

Description

Construction or initialization of a JspWriterImpl results in an attempt to set the buffer size the result of which may be an IllegalStateException.

This can be reduced by simply checking to see if the response is committed instead, and avoid the exception as control flow.
#### Environment
any
#### Affected Versions
[current]

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.