Re: RFR: 8342700: Set the default value of DirectCodeBuilder::handlers to Null [v2]

2024-10-21 Thread Shaojin Wen
> Set the default value of DirectCodeBuilder::handlers to Null to reduce > overhead in scenarios where there is no handler. Shaojin Wen has updated the pull request incrementally with one additional commit since the last revision: List.of - Changes: - all: https://git.openjdk.

Re: RFR: 8342700: Set the default value of DirectCodeBuilder::handlers to Null

2024-10-21 Thread Chen Liang
On Sun, 20 Oct 2024 23:15:44 GMT, Shaojin Wen wrote: > Set the default value of DirectCodeBuilder::handlers to Null to reduce > overhead in scenarios where there is no handler. src/java.base/share/classes/jdk/internal/classfile/impl/DirectCodeBuilder.java line 805: > 803: public List > g

RFR: 8342700: Set the default value of DirectCodeBuilder::handlers to Null

2024-10-21 Thread Shaojin Wen
Set the default value of DirectCodeBuilder::handlers to Null to reduce overhead in scenarios where there is no handler. - Commit messages: - handlers default null Changes: https://git.openjdk.org/jdk/pull/21598/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21598&range=00