comparison src/share/vm/ci/ciObjectFactory.cpp @ 2357:8033953d67ff

7012648: move JSR 292 to package java.lang.invoke and adjust names Summary: package and class renaming only; delete unused methods and classes Reviewed-by: twisti
author jrose
date Fri, 11 Mar 2011 22:34:57 -0800
parents 3582bf76420e
children c7f3d0b4570f
comparison
equal deleted inserted replaced
2356:72dee110246f 2357:8033953d67ff
1 /* 1 /*
2 * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1999, 2011, 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. 7 * published by the Free Software Foundation.
340 } else if (o->is_methodData()) { 340 } else if (o->is_methodData()) {
341 methodDataHandle h_md(THREAD, (methodDataOop)o); 341 methodDataHandle h_md(THREAD, (methodDataOop)o);
342 return new (arena()) ciMethodData(h_md); 342 return new (arena()) ciMethodData(h_md);
343 } else if (o->is_instance()) { 343 } else if (o->is_instance()) {
344 instanceHandle h_i(THREAD, (instanceOop)o); 344 instanceHandle h_i(THREAD, (instanceOop)o);
345 if (java_dyn_CallSite::is_instance(o)) 345 if (java_lang_invoke_CallSite::is_instance(o))
346 return new (arena()) ciCallSite(h_i); 346 return new (arena()) ciCallSite(h_i);
347 else if (java_dyn_MethodHandle::is_instance(o)) 347 else if (java_lang_invoke_MethodHandle::is_instance(o))
348 return new (arena()) ciMethodHandle(h_i); 348 return new (arena()) ciMethodHandle(h_i);
349 else 349 else
350 return new (arena()) ciInstance(h_i); 350 return new (arena()) ciInstance(h_i);
351 } else if (o->is_objArray()) { 351 } else if (o->is_objArray()) {
352 objArrayHandle h_oa(THREAD, (objArrayOop)o); 352 objArrayHandle h_oa(THREAD, (objArrayOop)o);