Integrated: 8253539: Remove unused JavaThread functions for set_last_Java_fp/pc

Coleen Phillimore coleenp at openjdk.java.net
Thu Sep 24 10:49:11 UTC 2020


On Wed, 23 Sep 2020 15:12:57 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> These functions are also unused and in the thread_platform.hpp files.  _last_Java_sp and _last_Java_fp are set in the
> assembly code for platforms that use these (x86, arm32 and aarch64).  The shared runtime code never sets these, or
> should it. last_Java_fp() is always called through JavaFrameAnchor, so that function is not needed.
> last_Java_fp_offset() is used and needs to be in these platform dependent files because not all platforms save
> last_Java_fp.  Tested with build on arm32 and tier1 on Oracle platforms including aarch64.

This pull request has now been integrated.

Changeset: bf442c5b
Author:    Coleen Phillimore <coleenp at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/bf442c5b
Stats:     35 lines in 9 files changed: 0 ins; 28 del; 7 mod

8253539: Remove unused JavaThread functions for set_last_Java_fp/pc

Reviewed-by: rehn, dholmes

-------------

PR: https://git.openjdk.java.net/jdk/pull/324


More information about the hotspot-dev mailing list