-
Bug
-
Resolution: Fixed
-
P3
-
8u40, 9
-
b85
-
x86
-
os_x
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8142296 | emb-9 | Attila Szegedi | P3 | Resolved | Fixed | team |
JDK-8141006 | 8u91 | Attila Szegedi | P3 | Resolved | Fixed | b01 |
JDK-8138634 | 8u72 | Attila Szegedi | P3 | Resolved | Fixed | b01 |
JDK-8147375 | emb-8u91 | Attila Szegedi | P3 | Resolved | Fixed | b01 |
FULL PRODUCT VERSION :
A DESCRIPTION OF THE PROBLEM :
We use Nashorn to run the zxcvb javascript, which is a password strength checker.
We do that to perform the same serverside validation as in the webpage.
There is a sample repository at
https://github.com/bripkens/nashorn-pw-check-example
which contains a unit test https://github.com/bripkens/nashorn-pw-check-example/blob/master/src/test/java/de/codecentric/StrengthCheckerTest.java
This unit test takes about 7 seconds to complete when run with a java 8 u 20.
Running it with 8u40 or 9ea spins forever in internal Nashorn code.
While it is possible tht this behaviour is triggered by the zxcvb library, as a user, I consider it to be a regression when it worked in u20 and no longer works in u40.
REGRESSION. Last worked in version 8u40
ADDITIONAL REGRESSION INFORMATION:
worked in u20, does NOT work in u40 (the select box does not allow this combination)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
clone the repo. run maven install with the desired jvms, or run mvn eclipse:eclipse and try to run from eclipse with the given jdks.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
unit tests pass.
ACTUAL -
spins forever
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
https://github.com/bripkens/nashorn-pw-check-example/
---------- END SOURCE ----------
A DESCRIPTION OF THE PROBLEM :
We use Nashorn to run the zxcvb javascript, which is a password strength checker.
We do that to perform the same serverside validation as in the webpage.
There is a sample repository at
https://github.com/bripkens/nashorn-pw-check-example
which contains a unit test https://github.com/bripkens/nashorn-pw-check-example/blob/master/src/test/java/de/codecentric/StrengthCheckerTest.java
This unit test takes about 7 seconds to complete when run with a java 8 u 20.
Running it with 8u40 or 9ea spins forever in internal Nashorn code.
While it is possible tht this behaviour is triggered by the zxcvb library, as a user, I consider it to be a regression when it worked in u20 and no longer works in u40.
REGRESSION. Last worked in version 8u40
ADDITIONAL REGRESSION INFORMATION:
worked in u20, does NOT work in u40 (the select box does not allow this combination)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
clone the repo. run maven install with the desired jvms, or run mvn eclipse:eclipse and try to run from eclipse with the given jdks.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
unit tests pass.
ACTUAL -
spins forever
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
https://github.com/bripkens/nashorn-pw-check-example/
---------- END SOURCE ----------
- backported by
-
JDK-8138634 Boundless soft caching of property map histories causes high memory pressure
-
- Resolved
-
-
JDK-8141006 Boundless soft caching of property map histories causes high memory pressure
-
- Resolved
-
-
JDK-8142296 Boundless soft caching of property map histories causes high memory pressure
-
- Resolved
-
-
JDK-8147375 Boundless soft caching of property map histories causes high memory pressure
-
- Resolved
-
- relates to
-
JDK-8043605 Enable history for empty property maps
-
- Resolved
-