mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
7153771: array bound check elimination for c1
When possible optimize out array bound checks, inserting predicates when needed. Reviewed-by: never, kvn, twisti
This commit is contained in:
parent
2f4ecb86a2
commit
06ef4cddf7
40 changed files with 2861 additions and 153 deletions
|
@ -71,6 +71,7 @@ class StubAssembler;
|
|||
stub(g1_post_barrier_slow) \
|
||||
stub(fpu2long_stub) \
|
||||
stub(counter_overflow) \
|
||||
stub(predicate_failed_trap) \
|
||||
last_entry(number_of_ids)
|
||||
|
||||
#define DECLARE_STUB_ID(x) x ## _id ,
|
||||
|
@ -190,6 +191,8 @@ class Runtime1: public AllStatic {
|
|||
static void oop_arraycopy(HeapWord* src, HeapWord* dst, int length);
|
||||
static int is_instance_of(oopDesc* mirror, oopDesc* obj);
|
||||
|
||||
static void predicate_failed_trap(JavaThread* thread);
|
||||
|
||||
static void print_statistics() PRODUCT_RETURN;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue