equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * Copyright (c) 2016 SAP SE. All rights reserved. |
3 * Copyright (c) 2016 SAP SE. All rights reserved. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 * |
5 * |
6 * This code is free software; you can redistribute it and/or modify it |
6 * This code is free software; you can redistribute it and/or modify it |
7 * under the terms of the GNU General Public License version 2 only, as |
7 * under the terms of the GNU General Public License version 2 only, as |
143 #ifndef PRODUCT |
143 #ifndef PRODUCT |
144 |
144 |
145 void CompiledDirectStaticCall::verify() { |
145 void CompiledDirectStaticCall::verify() { |
146 // Verify call. |
146 // Verify call. |
147 _call->verify(); |
147 _call->verify(); |
148 if (os::is_MP()) { |
148 _call->verify_alignment(); |
149 _call->verify_alignment(); |
|
150 } |
|
151 |
149 |
152 // Verify stub. |
150 // Verify stub. |
153 address stub = find_stub(/*is_aot*/ false); |
151 address stub = find_stub(/*is_aot*/ false); |
154 assert(stub != NULL, "no stub found for static call"); |
152 assert(stub != NULL, "no stub found for static call"); |
155 // Creation also verifies the object. |
153 // Creation also verifies the object. |