Skip to content

Commit

Permalink
Remove unused methods no longer needed by JIT
Browse files Browse the repository at this point in the history
  • Loading branch information
mlchung committed May 26, 2020
1 parent ea5a056 commit 6e1a1d4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/hotspot/share/classfile/javaClasses.hpp
Expand Up @@ -323,7 +323,6 @@ class java_lang_Class : AllStatic {
// compiler support for class operations
static int klass_offset_in_bytes() { return _klass_offset; }
static int array_klass_offset_in_bytes() { return _array_klass_offset; }
static int val_type_mirror_offset_in_bytes() { return _val_type_mirror_offset; }
static int component_mirror_offset_in_bytes() { return _component_mirror_offset; }
// Support for classRedefinedCount field
static int classRedefinedCount(oop the_class_mirror);
Expand Down
3 changes: 0 additions & 3 deletions src/hotspot/share/oops/valueKlass.hpp
Expand Up @@ -183,9 +183,6 @@ class ValueKlass: public InstanceKlass {
// Type testing
bool is_value_slow() const { return true; }

// ## Remove this function when its dependencies are removed
oop ref_mirror() const { return java_lang_Class::ref_type_mirror(java_mirror()); }

// Casting from Klass*
static ValueKlass* cast(Klass* k);

Expand Down
Expand Up @@ -1005,7 +1005,6 @@ public void test53_verifier(boolean warmup) {
test53(MyValue1[].class, MyValue1.ref[].class, len, 4);
}


// Same as test39 but Unsafe.putInt to buffer is not intrinsified/compiled
@DontCompile
public void test54_callee(MyValue1.ref v) { // Use .ref here to make sure the argument is not scalarized (otherwise larval information is lost)
Expand Down

0 comments on commit 6e1a1d4

Please sign in to comment.