Mercurial > hg > graal-jvmci-8
comparison src/share/vm/oops/constantPoolOop.cpp @ 2376:c7f3d0b4570f
7017732: move static fields into Class to prepare for perm gen removal
Reviewed-by: kvn, coleenp, twisti, stefank
author | never |
---|---|
date | Fri, 18 Mar 2011 16:00:34 -0700 |
parents | fbbeec6dad2d |
children | ed69575596ac |
comparison
equal
deleted
inserted
replaced
2375:d673ef06fe96 | 2376:c7f3d0b4570f |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 1997, 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. |
479 case JVM_CONSTANT_UnresolvedClassInError: | 479 case JVM_CONSTANT_UnresolvedClassInError: |
480 case JVM_CONSTANT_Class: | 480 case JVM_CONSTANT_Class: |
481 { | 481 { |
482 klassOop resolved = klass_at_impl(this_oop, index, CHECK_NULL); | 482 klassOop resolved = klass_at_impl(this_oop, index, CHECK_NULL); |
483 // ldc wants the java mirror. | 483 // ldc wants the java mirror. |
484 result_oop = resolved->klass_part()->java_mirror(); | 484 result_oop = resolved->java_mirror(); |
485 break; | 485 break; |
486 } | 486 } |
487 | 487 |
488 case JVM_CONSTANT_String: | 488 case JVM_CONSTANT_String: |
489 case JVM_CONSTANT_UnresolvedString: | 489 case JVM_CONSTANT_UnresolvedString: |