8265518: C1: Intrinsic support for Preconditions.checkIndex

Reviewed-by: dfuchs, iveresov
This commit is contained in:
Yi Yang 2021-06-12 01:03:50 +00:00
parent a466b49e71
commit 5cee23a9ed
11 changed files with 270 additions and 98 deletions

View file

@ -66,7 +66,6 @@ class RecordComponent;
f(java_lang_reflect_Constructor) \
f(java_lang_reflect_Field) \
f(java_lang_reflect_RecordComponent) \
f(java_nio_Buffer) \
f(reflect_ConstantPool) \
f(reflect_UnsafeStaticFieldAccessorImpl) \
f(java_lang_reflect_Parameter) \
@ -1584,16 +1583,6 @@ class java_lang_AssertionStatusDirectives: AllStatic {
};
class java_nio_Buffer: AllStatic {
private:
static int _limit_offset;
public:
static int limit_offset() { CHECK_INIT(_limit_offset); }
static void compute_offsets();
static void serialize_offsets(SerializeClosure* f) NOT_CDS_RETURN;
};
class java_util_concurrent_locks_AbstractOwnableSynchronizer : AllStatic {
private:
static int _owner_offset;