< prev index next >

src/hotspot/share/classfile/classFileParser.cpp

Print this page
rev 48545 : Value-based classes (vbc) / Oop value test via metadata ptr

*** 1,7 **** /* ! * Copyright (c) 1997, 2017, 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, 2018, 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.
*** 5909,5919 **** } // Verification prevents us from creating names with dots in them, this // asserts that that's the case. assert(is_internal_format(_class_name), "external class name format used internally"); ! if (!is_internal()) { LogTarget(Debug, class, preorder) lt; if (lt.is_enabled()){ ResourceMark rm(THREAD); LogStream ls(lt); --- 5909,5923 ---- } // Verification prevents us from creating names with dots in them, this // asserts that that's the case. assert(is_internal_format(_class_name), "external class name format used internally"); ! #if INCLUDE_VBC ! if (SystemDictionary::is_value_based_classname(_class_name)) { ! _access_flags.set_is_value_based_class(); ! } ! #endif if (!is_internal()) { LogTarget(Debug, class, preorder) lt; if (lt.is_enabled()){ ResourceMark rm(THREAD); LogStream ls(lt);
< prev index next >