1 /* |
1 /* |
2 * Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1999, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * Copyright 2009, 2010 Red Hat, Inc. |
3 * Copyright 2009, 2010 Red Hat, Inc. |
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 |
48 thread->setName("thread"); |
48 thread->setName("thread"); |
49 set_thread(thread); |
49 set_thread(thread); |
50 |
50 |
51 // Create and push our stack frame |
51 // Create and push our stack frame |
52 builder()->SetInsertPoint(CreateBlock()); |
52 builder()->SetInsertPoint(CreateBlock()); |
|
53 #error Needs to be updated for tagged jweak; see JNIHandles. |
53 _stack = SharkStack::CreateBuildAndPushFrame(this, method); |
54 _stack = SharkStack::CreateBuildAndPushFrame(this, method); |
54 NOT_PRODUCT(method = NULL); |
55 NOT_PRODUCT(method = NULL); |
55 |
56 |
56 // Create the oopmap. We use the one oopmap for every call site in |
57 // Create the oopmap. We use the one oopmap for every call site in |
57 // the wrapper, which results in the odd mild inefficiency but is a |
58 // the wrapper, which results in the odd mild inefficiency but is a |