Ioi Lam

Results 13 issues of Ioi Lam

Enable CDS for zero builds. `java --version` is about 2x faster now. ``` $ perf stat -r 40 ./images/jdk/bin/java -Xshare:off -version 0.034645 +- 0.000044 seconds time elapsed ( +- 0.13%...

ready
rfr
build
hotspot

Fix two problems with synchronizer.hpp: - It's unnecessarily included in two popular headers: monitorChunk.hpp and frame_\.hpp. The latter is most problematic because it includes synchronizer.hpp in the middle of a...

ready
rfr
serviceability
hotspot
shenandoah

Please review this small optimization. As shown in the JBS issue, most of the generated LambdaForm classes have a single ClassData, so we can get a small footprint/speed improvement. ---------...

ready
rfr
core-libs

Please review this small clean up perfMemory_posix.cpp uses a lot of explicit C heap alloc/free because the function may be called during early VM bootstrap, before ResourceMark can be used....

ready
rfr
hotspot-runtime

Some objects in the archive heap contain native pointers. E.g., archived `java.lang.Class` objects contain a pointer to its `Klass*`. At runtime, if the archived metadata are mapped at an alternative...

ready
rfr
hotspot-runtime

Rename `DictionaryEntry::_pd_set` to `_package_access_cache`, and rename all related methods accordingly. The old name was very confusing. It makes one wonder, > Is `DictionaryEntry::_pd_set` related to the `java.lang.Class.getProtectionDomain()` of the `DictionaryEntry::_instance_klass`...

ready
rfr
hotspot-runtime

The handling of `@` tags in `ClassListParser::parse()` is quite convoluted. As we expect to add more `@` tags in Project Leyden, we should refactor this code to make it more...

rfr
hotspot-runtime

JavacBench is a test program that compiles 90 Java source files. It uses a fair amount of invokedynamic callsites, so it's good for testing CDS support for indy and lambda...

rfr
hotspot-runtime
core-libs

Please review this simple refactoring of the CDS code for handling enum classes. The code is moved to new files cdsEnumKlass.cpp/hpp. There's otherwise no change. --------- ### Progress - [x]...

ready
rfr
hotspot

This is an implementation of [JEP 483: Ahead-of-Time Class Loading & Linking](https://openjdk.org/jeps/483). ---- Note: this is a combined PR of the following individual PRs - https://github.com/openjdk/jdk/pull/20516 - https://github.com/openjdk/jdk/pull/20517 - https://github.com/openjdk/jdk/pull/20843...

rfr
serviceability
hotspot
core-libs