Other |
---|
tbdResolved |
Duplicate :
|
|
Relates :
|
|
Relates :
|
In JDK-8136854 we found that the current code to synchronize the concurrent mark thread with the main thread during initialization uses a polling loop with a (previously) large delay. In very short running applications (microbenchmarks) this caused very slow startup of G1. In JDK-8136854 this problem has been resolved by decreasing this delay significantly. However it would likely be much better to use a notify/wait scheme for this to avoid any kind of polling loop, which seems a much "nicer" solution. This CR is to prototype this and evaluate it against the current solution.