equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * Copyright (c) 2014, 2018, Red Hat Inc. All rights reserved. |
3 * Copyright (c) 2014, 2018, Red Hat Inc. 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 |
193 #ifndef PRODUCT |
193 #ifndef PRODUCT |
194 |
194 |
195 void CompiledDirectStaticCall::verify() { |
195 void CompiledDirectStaticCall::verify() { |
196 // Verify call. |
196 // Verify call. |
197 _call->verify(); |
197 _call->verify(); |
198 if (os::is_MP()) { |
198 _call->verify_alignment(); |
199 _call->verify_alignment(); |
|
200 } |
|
201 |
199 |
202 // Verify stub. |
200 // Verify stub. |
203 address stub = find_stub(false /* is_aot */); |
201 address stub = find_stub(false /* is_aot */); |
204 assert(stub != NULL, "no stub found for static call"); |
202 assert(stub != NULL, "no stub found for static call"); |
205 // Creation also verifies the object. |
203 // Creation also verifies the object. |