src/share/vm/classfile/systemDictionary.cpp

changeset 9099
08326a76b148
parent 8621
4eba7ec59722
child 9122
024be04bb151
child 9507
7e72702243a4
child 9530
9fce84e6f51a
equal deleted inserted replaced
9096:425504a45630 9099:08326a76b148
1 /* 1 /*
2 * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2018, 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.
1925 InstanceKlass::cast(WK_KLASS(WeakReference_klass))->set_reference_type(REF_WEAK); 1925 InstanceKlass::cast(WK_KLASS(WeakReference_klass))->set_reference_type(REF_WEAK);
1926 InstanceKlass::cast(WK_KLASS(FinalReference_klass))->set_reference_type(REF_FINAL); 1926 InstanceKlass::cast(WK_KLASS(FinalReference_klass))->set_reference_type(REF_FINAL);
1927 InstanceKlass::cast(WK_KLASS(PhantomReference_klass))->set_reference_type(REF_PHANTOM); 1927 InstanceKlass::cast(WK_KLASS(PhantomReference_klass))->set_reference_type(REF_PHANTOM);
1928 InstanceKlass::cast(WK_KLASS(Cleaner_klass))->set_reference_type(REF_CLEANER); 1928 InstanceKlass::cast(WK_KLASS(Cleaner_klass))->set_reference_type(REF_CLEANER);
1929 1929
1930 initialize_wk_klasses_through(WK_KLASS_ENUM_NAME(ReferenceQueue_klass), scan, CHECK);
1931
1930 // JSR 292 classes 1932 // JSR 292 classes
1931 WKID jsr292_group_start = WK_KLASS_ENUM_NAME(MethodHandle_klass); 1933 WKID jsr292_group_start = WK_KLASS_ENUM_NAME(MethodHandle_klass);
1932 WKID jsr292_group_end = WK_KLASS_ENUM_NAME(VolatileCallSite_klass); 1934 WKID jsr292_group_end = WK_KLASS_ENUM_NAME(VolatileCallSite_klass);
1933 initialize_wk_klasses_until(jsr292_group_start, scan, CHECK); 1935 initialize_wk_klasses_until(jsr292_group_start, scan, CHECK);
1934 if (EnableInvokeDynamic) { 1936 if (EnableInvokeDynamic) {

mercurial