mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
8003426: Remove UseFastAccessors and UseFastEmptyMethods except for zero
These options have been long disabled in Xmixed mode because they prevent these small methods from being inlined and are subject to bit rot, and we don't need more macro assembler code to maintain and change if the constant pool cache format changes. Reviewed-by: simonis, kvn
This commit is contained in:
parent
8a690a1250
commit
cafb36661d
31 changed files with 320 additions and 1769 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 2014, 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
|
||||
|
@ -316,6 +316,7 @@ void JvmtiManageCapabilities::update() {
|
|||
avail.can_generate_frame_pop_events ||
|
||||
avail.can_generate_method_entry_events ||
|
||||
avail.can_generate_method_exit_events;
|
||||
#ifdef ZERO
|
||||
bool enter_all_methods =
|
||||
interp_events ||
|
||||
avail.can_generate_breakpoint_events;
|
||||
|
@ -324,6 +325,7 @@ void JvmtiManageCapabilities::update() {
|
|||
UseFastEmptyMethods = false;
|
||||
UseFastAccessorMethods = false;
|
||||
}
|
||||
#endif // ZERO
|
||||
|
||||
if (avail.can_generate_breakpoint_events) {
|
||||
RewriteFrequentPairs = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue