Chen Liang

Results 87 issues of Chen Liang

This is the Valhalla version of [JDK-8337220](https://bugs.openjdk.org/browse/JDK-8337220). We pass the class file version in ClassFile structures for correct access flag validation. Since we are a few tags behind there will...

rfr
ready

There are some remnants from previous iterations of value objects in Unsafe. We should aim to remove them for cleaner code in the future. --------- ### Progress - [x] Change...

rfr
ready

Folding identity hash as constant if the incoming argument is constant would be useful for quick map lookups, such as for the [Classifier proposal](https://openjdk.org/jeps/8357674). Currently, identity hash is not constant...

rfr
hotspot-runtime
hotspot
hotspot-compiler

Since access descriptor is created for each VH operation site, we can optimistically cache the adapted method handle in a site if the site operates on a constant VH. Used...

rfr
build
hotspot
core-libs
hotspot-compiler

The 3 methods to determine conversions and subtyping on `java.lang.Class`, which are `isInstance`, `cast`, and `isAssignableFrom`, have their documentation from the earliest days of the Java Platform. During the language...

csr
rfr
core-libs

Examples: https://github.com/FabricMC/yarn/commit/414cedb22f8cb477719f6e1789dfad04108d75fa#diff-73a11ecff5477b460d191d612ad8a47f4d1a7895673479fc8d79d4e6dd2d916bL211-L221 https://github.com/FabricMC/yarn/commit/414cedb22f8cb477719f6e1789dfad04108d75fa#r48954183 https://github.com/FabricMC/yarn/commit/252ad11d0a258a0603ef0a1b2fe5b31d8c913ccc#diff-90e8775ba246959b4310b4541dd3a9edc17c65742170117a0883d37f2362b6f0L3-L12 https://github.com/FabricMC/yarn/commit/252ad11d0a258a0603ef0a1b2fe5b31d8c913ccc#diff-75840641e62ae4fe1a1d946c90c20e28d53ed8f8b0d62ecd2134251e8f218917R2

In matching for 20w12a, Mojang abstracted `Block` class and moved many methods to a new class, which is a new superclass for `Block`. Matcher apparently cannot match those moved up...