8253539: Remove unused JavaThread functions for set_last_Java_fp/pc
Reviewed-by: rehn, dholmes
This commit is contained in:
parent
dd2c456eb8
commit
bf442c5b9e
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2002, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2002, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2014, Red Hat Inc. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
@ -80,8 +80,6 @@ public:
|
||||
|
||||
void set_last_Java_sp(intptr_t* sp) { _last_Java_sp = sp; OrderAccess::release(); }
|
||||
|
||||
intptr_t* last_Java_fp(void) { return _last_Java_fp; }
|
||||
// Assert (last_Java_sp == NULL || fp == NULL)
|
||||
void set_last_Java_fp(intptr_t* fp) { OrderAccess::release(); _last_Java_fp = fp; }
|
||||
intptr_t* last_Java_fp(void) { return _last_Java_fp; }
|
||||
|
||||
#endif // CPU_AARCH64_JAVAFRAMEANCHOR_AARCH64_HPP
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2008, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2008, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -79,8 +79,6 @@ public:
|
||||
|
||||
void set_last_Java_sp(intptr_t* sp) { _last_Java_sp = sp; }
|
||||
|
||||
intptr_t* last_Java_fp(void) { return _last_Java_fp; }
|
||||
// Assert (last_Java_sp == NULL || fp == NULL)
|
||||
void set_last_Java_fp(intptr_t* fp) { _last_Java_fp = fp; }
|
||||
intptr_t* last_Java_fp(void) { return _last_Java_fp; }
|
||||
|
||||
#endif // CPU_ARM_JAVAFRAMEANCHOR_ARM_HPP
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2002, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2002, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -78,8 +78,6 @@ public:
|
||||
|
||||
void set_last_Java_sp(intptr_t* sp) { _last_Java_sp = sp; }
|
||||
|
||||
intptr_t* last_Java_fp(void) { return _last_Java_fp; }
|
||||
// Assert (last_Java_sp == NULL || fp == NULL)
|
||||
void set_last_Java_fp(intptr_t* fp) { _last_Java_fp = fp; }
|
||||
intptr_t* last_Java_fp(void) { return _last_Java_fp; }
|
||||
|
||||
#endif // CPU_X86_JAVAFRAMEANCHOR_X86_HPP
|
||||
|
@ -33,10 +33,6 @@
|
||||
frame pd_last_frame();
|
||||
|
||||
public:
|
||||
// Mutators are highly dangerous....
|
||||
intptr_t* last_Java_fp() { return _anchor.last_Java_fp(); }
|
||||
void set_last_Java_fp(intptr_t* fp) { _anchor.set_last_Java_fp(fp); }
|
||||
|
||||
static ByteSize last_Java_fp_offset() {
|
||||
return byte_offset_of(JavaThread, _anchor) + JavaFrameAnchor::last_Java_fp_offset();
|
||||
}
|
||||
|
@ -44,10 +44,6 @@
|
||||
frame pd_last_frame();
|
||||
|
||||
public:
|
||||
// Mutators are highly dangerous....
|
||||
intptr_t* last_Java_fp() { return _anchor.last_Java_fp(); }
|
||||
void set_last_Java_fp(intptr_t* fp) { _anchor.set_last_Java_fp(fp); }
|
||||
|
||||
static ByteSize last_Java_fp_offset() {
|
||||
return byte_offset_of(JavaThread, _anchor) + JavaFrameAnchor::last_Java_fp_offset();
|
||||
}
|
||||
|
@ -40,10 +40,6 @@
|
||||
frame pd_last_frame();
|
||||
|
||||
public:
|
||||
intptr_t* last_Java_fp() { return _anchor.last_Java_fp(); }
|
||||
void set_last_Java_fp(intptr_t* fp) { _anchor.set_last_Java_fp(fp); }
|
||||
void set_last_Java_pc(address pc) { _anchor.set_last_Java_pc(pc); }
|
||||
|
||||
static ByteSize last_Java_fp_offset() {
|
||||
return byte_offset_of(JavaThread, _anchor) + JavaFrameAnchor::last_Java_fp_offset();
|
||||
}
|
||||
|
@ -33,10 +33,6 @@
|
||||
frame pd_last_frame();
|
||||
|
||||
public:
|
||||
// Mutators are highly dangerous....
|
||||
intptr_t* last_Java_fp() { return _anchor.last_Java_fp(); }
|
||||
void set_last_Java_fp(intptr_t* fp) { _anchor.set_last_Java_fp(fp); }
|
||||
|
||||
static ByteSize last_Java_fp_offset() {
|
||||
return byte_offset_of(JavaThread, _anchor) + JavaFrameAnchor::last_Java_fp_offset();
|
||||
}
|
||||
|
@ -40,10 +40,6 @@
|
||||
frame pd_last_frame();
|
||||
|
||||
public:
|
||||
// Mutators are highly dangerous....
|
||||
intptr_t* last_Java_fp() { return _anchor.last_Java_fp(); }
|
||||
void set_last_Java_fp(intptr_t* fp) { _anchor.set_last_Java_fp(fp); }
|
||||
|
||||
static ByteSize last_Java_fp_offset() {
|
||||
return byte_offset_of(JavaThread, _anchor) + JavaFrameAnchor::last_Java_fp_offset();
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2002, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2002, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -85,8 +85,6 @@ public:
|
||||
JavaFrameAnchor() { clear(); }
|
||||
JavaFrameAnchor(JavaFrameAnchor *src) { copy(src); }
|
||||
|
||||
void set_last_Java_pc(address pc) { _last_Java_pc = pc; }
|
||||
|
||||
// Assembly stub generation helpers
|
||||
|
||||
static ByteSize last_Java_sp_offset() { return byte_offset_of(JavaFrameAnchor, _last_Java_sp); }
|
||||
|
Loading…
Reference in New Issue
Block a user