src/share/vm/classfile/classFileParser.cpp

changeset 953
0af8b0718fc9
parent 909
7a018855d2f0
child 1014
0fbdb4381b99
     1.1 --- a/src/share/vm/classfile/classFileParser.cpp	Tue Jan 06 07:05:05 2009 -0800
     1.2 +++ b/src/share/vm/classfile/classFileParser.cpp	Sun Jan 11 16:58:24 2009 -0800
     1.3 @@ -232,7 +232,9 @@
     1.4      length >= 1, "Illegal constant pool size %u in class file %s",
     1.5      length, CHECK_(nullHandle));
     1.6    constantPoolOop constant_pool =
     1.7 -                      oopFactory::new_constantPool(length, CHECK_(nullHandle));
     1.8 +                      oopFactory::new_constantPool(length,
     1.9 +                                                   methodOopDesc::IsSafeConc,
    1.10 +                                                   CHECK_(nullHandle));
    1.11    constantPoolHandle cp (THREAD, constant_pool);
    1.12  
    1.13    cp->set_partially_loaded();    // Enables heap verify to work on partial constantPoolOops
    1.14 @@ -1675,7 +1677,8 @@
    1.15    // All sizing information for a methodOop is finally available, now create it
    1.16    methodOop m_oop  = oopFactory::new_method(
    1.17      code_length, access_flags, linenumber_table_length,
    1.18 -    total_lvt_length, checked_exceptions_length, CHECK_(nullHandle));
    1.19 +    total_lvt_length, checked_exceptions_length,
    1.20 +    methodOopDesc::IsSafeConc, CHECK_(nullHandle));
    1.21    methodHandle m (THREAD, m_oop);
    1.22  
    1.23    ClassLoadingService::add_class_method_size(m_oop->size()*HeapWordSize);

mercurial