6783ab9f47
This updates OpenJDK 8 to a newer version and brings a bunch of changes. Newly, it is bootstrapped with openjdk7-bootstrap, so it does not need to download binaries. It can also cross-compile and is patched for musl and other platforms. We're newly using the aarch64 port repo in order to get aarch64 JIT. For non-aarch64 platforms, the codebase is the same. The symlink for /usr/lib/jvm/openjdk is also now gone and we're using a unified java-VERSION-VENDOR naming. Also general template cleanup. [ci skip]
13 lines
571 B
Diff
13 lines
571 B
Diff
Use ~0u instead of -1 to shift an unsigned value.
|
|
|
|
--- openjdk/hotspot/src/share/vm/code/dependencies.hpp
|
|
+++ openjdk/hotspot/src/share/vm/code/dependencies.hpp
|
|
@@ -166,7 +166,7 @@
|
|
LG2_TYPE_LIMIT = 4, // assert(TYPE_LIMIT <= (1<<LG2_TYPE_LIMIT))
|
|
|
|
// handy categorizations of dependency types:
|
|
- all_types = ((1 << TYPE_LIMIT) - 1) & ((-1) << FIRST_TYPE),
|
|
+ all_types = ((1 << TYPE_LIMIT) - 1) & (~0u << FIRST_TYPE),
|
|
|
|
non_klass_types = (1 << call_site_target_value),
|
|
klass_types = all_types & ~non_klass_types,
|