mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8216375: Revert JDK-8145579 after JDK-8076988 is resolved
Remove obsolete code Reviewed-by: thartmann, dlong
This commit is contained in:
parent
508152b0a6
commit
1b9d9fd1ae
1 changed files with 1 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1999, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1999, 2019, 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
|
||||
|
@ -1451,9 +1451,6 @@ void GraphBuilder::call_register_finalizer() {
|
|||
}
|
||||
|
||||
if (needs_check) {
|
||||
// Not a trivial method because C2 can do better with inlined check.
|
||||
compilation()->set_would_profile(true);
|
||||
|
||||
// Perform the registration of finalizable objects.
|
||||
ValueStack* state_before = copy_state_for_exception();
|
||||
load_local(objectType, 0);
|
||||
|
@ -3569,9 +3566,6 @@ void GraphBuilder::build_graph_for_intrinsic(ciMethod* callee, bool ignore_retur
|
|||
}
|
||||
|
||||
bool GraphBuilder::try_inline_intrinsics(ciMethod* callee, bool ignore_return) {
|
||||
// Not a trivial method because C2 may do intrinsics better.
|
||||
compilation()->set_would_profile(true);
|
||||
|
||||
// For calling is_intrinsic_available we need to transition to
|
||||
// the '_thread_in_vm' state because is_intrinsic_available()
|
||||
// accesses critical VM-internal data.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue