src/share/vm/memory/oopFactory.cpp
Print this page
*** 1,7 ****
/*
! * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 20,31 ****
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
! # include "incls/_precompiled.incl"
! # include "incls/_oopFactory.cpp.incl"
typeArrayOop oopFactory::new_charArray(const char* utf8_str, TRAPS) {
int length = utf8_str == NULL ? 0 : UTF8::unicode_length(utf8_str);
typeArrayOop result = new_charArray(length, CHECK_NULL);
--- 20,51 ----
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
! #include "precompiled.hpp"
! #include "classfile/javaClasses.hpp"
! #include "classfile/symbolTable.hpp"
! #include "classfile/systemDictionary.hpp"
! #include "classfile/vmSymbols.hpp"
! #include "gc_interface/collectedHeap.inline.hpp"
! #include "memory/oopFactory.hpp"
! #include "memory/resourceArea.hpp"
! #include "memory/universe.inline.hpp"
! #include "oops/compiledICHolderKlass.hpp"
! #include "oops/constMethodKlass.hpp"
! #include "oops/constantPoolKlass.hpp"
! #include "oops/cpCacheKlass.hpp"
! #include "oops/instanceKlass.hpp"
! #include "oops/instanceKlassKlass.hpp"
! #include "oops/instanceOop.hpp"
! #include "oops/klassKlass.hpp"
! #include "oops/klassOop.hpp"
! #include "oops/methodDataKlass.hpp"
! #include "oops/methodKlass.hpp"
! #include "oops/objArrayOop.hpp"
! #include "oops/oop.inline.hpp"
typeArrayOop oopFactory::new_charArray(const char* utf8_str, TRAPS) {
int length = utf8_str == NULL ? 0 : UTF8::unicode_length(utf8_str);
typeArrayOop result = new_charArray(length, CHECK_NULL);