equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2008, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2008, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
432 * The {@code linkMethod} call is free to omit the appendix |
432 * The {@code linkMethod} call is free to omit the appendix |
433 * (returning null) and instead emulate the required function |
433 * (returning null) and instead emulate the required function |
434 * completely in the linker method. |
434 * completely in the linker method. |
435 * As a corner case, if N==255, no appendix is possible. |
435 * As a corner case, if N==255, no appendix is possible. |
436 * In this case, the method returned must be custom-generated to |
436 * In this case, the method returned must be custom-generated to |
437 * to perform any needed type checking. |
437 * perform any needed type checking. |
438 * <p> |
438 * <p> |
439 * If the JVM does not reify a method at a call site, but instead |
439 * If the JVM does not reify a method at a call site, but instead |
440 * calls {@code linkMethod}, the corresponding call represented |
440 * calls {@code linkMethod}, the corresponding call represented |
441 * in the bytecodes may mention a valid method which is not |
441 * in the bytecodes may mention a valid method which is not |
442 * representable with a {@code MemberName}. |
442 * representable with a {@code MemberName}. |