Chen Liang

Results 87 issues of Chen Liang

Currently, we have a lot of TYPE_CODEC, which are general registry-backed codecs. It works like this: Decoding: decodes object type with a registry instance, then use the object type's provided...

discussion
refactor

`https://maven.fabricmc.net/docs/yarn-21w06a+build.5` redirects to `https://maven.fabricmc.net/yarn-21w06a+build.5/` while `https://maven.fabricmc.net/docs/yarn-21w06a+build.5/` (requires the `/` slash in the end) works. same for http vs https. same for the loader javadoc. `https://maven.fabricmc.net/docs/fabric-loader-0.11.1` redirects to `https://maven.fabricmc.net/fabric-loader-0.11.1/` `https://maven.fabricmc.net/docs/fabric-loader-0.11.1/` works....

bug
javadoc

@cl4es discovered that Stack Map generation in ClassFile API uses `componentType` and `arrayType` for `aaload` `aastore` instructions, which are currently quite slow. We can split out array class descriptors from...

ready
rfr
core-libs

Improve the documentation for classfile instructions. Includes links to all opcodes, usage notes for instructions, and other various fixes. --------- ### Progress - [x] Change must be properly reviewed (1...

csr
rfr
core-libs

Discovered this small cleanup while looking at wrapper class code. --------- ### Progress - [ ] Change must be properly reviewed (1 review required, with at least 1 [Reviewer](https://openjdk.org/bylaws#reviewer)) -...

rfr
core-libs
i18n

Currently, to efficiently check if a `ClassEntry`, such as one from an `InvokeInstruction`, is of a particular class, we use such a pattern (as seen in JEP 486 [Appendix](https://openjdk.org/jeps/486#Appendix)): ```java...

csr
rfr
core-libs

Added a test tool to strictify files and migrated the existing StrictFinalInstanceFieldsTest as an example. --------- ### Progress - [x] Change must not contain extraneous whitespace ### Issue * [JDK-8351362](https://bugs.openjdk.org/browse/JDK-8351362):...

rfr
ready
sponsor

Update substitutability test to use MethodHandles that access independent primitive/pointer instead heap reallocated copies of inlined values with an object header. Need long-term solution for user MethodHandle that accesses nested...

For early eval; test by changing the ClassReader max accepted version of test ASM to 24 instead of 25 --------- ### Progress - [ ] Change must be properly reviewed...

rfr
serviceability
hotspot

Unsafe throws IAE for misusing static vs instance fields, and it's revealed that AtomicXxxFieldUpdaters are using this mechanism to reject static fields. This is not a good practice, but we...

core-libs