< prev index next >

src/hotspot/share/aot/aotCodeHeap.cpp

8199604_cardtablemodrefbs_rename

10  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License                                                             
11  * version 2 for more details (a copy is included in the LICENSE file that                                                           
12  * accompanied this code).                                                                                                           
13  *                                                                                                                                   
14  * You should have received a copy of the GNU General Public License version                                                         
15  * 2 along with this work; if not, write to the Free Software Foundation,                                                            
16  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.                                                                     
17  *                                                                                                                                   
18  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA                                                           
19  * or visit www.oracle.com if you need additional information or have any                                                            
20  * questions.                                                                                                                        
21  */                                                                                                                                  
22 
23 #include "precompiled.hpp"                                                                                                           
24 
25 #include "aot/aotCodeHeap.hpp"                                                                                                       
26 #include "aot/aotLoader.hpp"                                                                                                         
27 #include "ci/ciUtilities.hpp"                                                                                                        
28 #include "classfile/javaAssertions.hpp"                                                                                              
29 #include "gc/shared/cardTable.hpp"                                                                                                   
30 #include "gc/shared/cardTableModRefBS.hpp"                                                                                           
31 #include "gc/g1/heapRegion.hpp"                                                                                                      
32 #include "gc/shared/gcLocker.hpp"                                                                                                    
33 #include "interpreter/abstractInterpreter.hpp"                                                                                       
34 #include "jvmci/compilerRuntime.hpp"                                                                                                 
35 #include "jvmci/jvmciRuntime.hpp"                                                                                                    
36 #include "memory/allocation.inline.hpp"                                                                                              
37 #include "oops/method.inline.hpp"                                                                                                    
38 #include "runtime/os.hpp"                                                                                                            
39 #include "runtime/sharedRuntime.hpp"                                                                                                 
40 #include "runtime/vm_operations.hpp"                                                                                                 
41 
42 bool AOTLib::_narrow_oop_shift_initialized = false;                                                                                  
43 int  AOTLib::_narrow_oop_shift = 0;                                                                                                  
44 int  AOTLib::_narrow_klass_shift = 0;                                                                                                
45 
46 address AOTLib::load_symbol(const char *name) {                                                                                      
47   address symbol = (address) os::dll_lookup(_dl_handle, name);                                                                       
48   if (symbol == NULL) {                                                                                                              
49     tty->print_cr("Shared file %s error: missing %s", _name, name);                                                                  

10  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
11  * version 2 for more details (a copy is included in the LICENSE file that
12  * accompanied this code).
13  *
14  * You should have received a copy of the GNU General Public License version
15  * 2 along with this work; if not, write to the Free Software Foundation,
16  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
17  *
18  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
19  * or visit www.oracle.com if you need additional information or have any
20  * questions.
21  */
22 
23 #include "precompiled.hpp"
24 
25 #include "aot/aotCodeHeap.hpp"
26 #include "aot/aotLoader.hpp"
27 #include "ci/ciUtilities.hpp"
28 #include "classfile/javaAssertions.hpp"
29 #include "gc/shared/cardTable.hpp"
30 #include "gc/shared/cardTableBarrierSet.hpp"
31 #include "gc/g1/heapRegion.hpp"
32 #include "gc/shared/gcLocker.hpp"
33 #include "interpreter/abstractInterpreter.hpp"
34 #include "jvmci/compilerRuntime.hpp"
35 #include "jvmci/jvmciRuntime.hpp"
36 #include "memory/allocation.inline.hpp"
37 #include "oops/method.inline.hpp"
38 #include "runtime/os.hpp"
39 #include "runtime/sharedRuntime.hpp"
40 #include "runtime/vm_operations.hpp"
41 
42 bool AOTLib::_narrow_oop_shift_initialized = false;
43 int  AOTLib::_narrow_oop_shift = 0;
44 int  AOTLib::_narrow_klass_shift = 0;
45 
46 address AOTLib::load_symbol(const char *name) {
47   address symbol = (address) os::dll_lookup(_dl_handle, name);
48   if (symbol == NULL) {
49     tty->print_cr("Shared file %s error: missing %s", _name, name);
< prev index next >