<div dir="ltr"><div>Hi Albert,</div><div><br></div><div>Sorry for any delay. I bisect the related patches in several days.</div><div><br></div><div>> Re <a href="https://bugs.openjdk.org/browse/JDK-8333386" rel="noreferrer" target="_blank">https://bugs.openjdk.org/browse/JDK-8333386</a>, I think your suggestion, "add the option `-XX:NewSize=65m`", is the way to go.</div><div><br></div>When I run the test case `TestAbortOnVMOperationTimeout` [1] in current main-line code,<div>the test case passed in the client VM. I bisected all the related patches these months </div><div>and found the change (the test case passed) began at JDK-8333786 [2]. </div><div>Then I tried partial code of JDK-8333786 [2] in its previous patch (the code is in [3]), </div><div>and finally I found the method `SerialHeap::should_try_older_generation_allocation` [4] </div><div>in JDK-8333786 [2] makes the test case pass in the client VM.</div><div>It is because such a change can make the `DefNewGeneration::compute_new_size` </div><div>effective, and then the young-gen size can be expanded after the GC.</div><div>So I think the JDK-8333386 [1] is not a bug now and the ticket can be closed.</div><div>What do you think about it?</div><div><br></div><div>> As for adding young-gen expansion support to Serial, it probably should have its own enhancement ticket.</div><div>></div>> I am currently working on placing from/to spaces before eden inside young-gen as part of Parallel heap-auto-sizing. I believe Serial can use the same layout (from/to/eden, instead of eden/from/to) to facilitate eden/young-gen expansion. My 2c.<br><div><br></div><div>Yes, the expansion should have its ticket and need more investigation and discussion. And this email line is the beginning of the discussion.</div><div><br></div><div>Best Regards,</div><div>-- Guoxiong</div><div><br></div><div><div><div>[1] <a href="https://bugs.openjdk.org/browse/JDK-8333386" target="_blank">https://bugs.openjdk.org/browse/JDK-8333386</a></div>[2] <a href="https://bugs.openjdk.org/browse/JDK-8333386" target="_blank">https://bugs.openjdk.org/browse/JDK-8333786</a></div></div><div>[3] <a href="https://bugs.openjdk.org/browse/JDK-8333386" target="_blank">https://bugs.openjdk.org/browse/JDK-</a><a href="https://bugs.openjdk.org/browse/JDK-8333386" target="_blank">8335007</a></div><div>[4] <a href="https://github.com/openjdk/jdk/commit/6b961acb87c29027f2158c6b7a764f1276a0bf52#diff-d53bf148d2758636cb8c6a54595515610a4c52d953e23e7bfdeef1106c14f626R286-R290">https://github.com/openjdk/jdk/commit/6b961acb87c29027f2158c6b7a764f1276a0bf52#diff-d53bf148d2758636cb8c6a54595515610a4c52d953e23e7bfdeef1106c14f626R286-R290</a></div><div><br></div></div>