Mercurial > hg > graal-jvmci-8
comparison src/share/vm/opto/library_call.cpp @ 2379:b099aaf51bf8
6962931: move interned strings out of the perm gen
Reviewed-by: never, coleenp, ysr, jwilhelm
author | jcoomes |
---|---|
date | Tue, 22 Mar 2011 13:36:33 -0700 |
parents | 0ac769a57c64 |
children | 0e3ed5a14f73 |
comparison
equal
deleted
inserted
replaced
2378:924777755fad | 2379:b099aaf51bf8 |
---|---|
1114 Node* sourceCounta = basic_plus_adr(string_object, string_object, count_offset); | 1114 Node* sourceCounta = basic_plus_adr(string_object, string_object, count_offset); |
1115 Node* sourceCount = make_load(no_ctrl, sourceCounta, TypeInt::INT, T_INT, string_type->add_offset(count_offset)); | 1115 Node* sourceCount = make_load(no_ctrl, sourceCounta, TypeInt::INT, T_INT, string_type->add_offset(count_offset)); |
1116 Node* sourcea = basic_plus_adr(string_object, string_object, value_offset); | 1116 Node* sourcea = basic_plus_adr(string_object, string_object, value_offset); |
1117 Node* source = make_load(no_ctrl, sourcea, source_type, T_OBJECT, string_type->add_offset(value_offset)); | 1117 Node* source = make_load(no_ctrl, sourcea, source_type, T_OBJECT, string_type->add_offset(value_offset)); |
1118 | 1118 |
1119 Node* target = _gvn.transform( makecon(TypeOopPtr::make_from_constant(target_array)) ); | 1119 Node* target = _gvn.transform( makecon(TypeOopPtr::make_from_constant(target_array, true)) ); |
1120 jint target_length = target_array->length(); | 1120 jint target_length = target_array->length(); |
1121 const TypeAry* target_array_type = TypeAry::make(TypeInt::CHAR, TypeInt::make(0, target_length, Type::WidenMin)); | 1121 const TypeAry* target_array_type = TypeAry::make(TypeInt::CHAR, TypeInt::make(0, target_length, Type::WidenMin)); |
1122 const TypeAryPtr* target_type = TypeAryPtr::make(TypePtr::BotPTR, target_array_type, target_array->klass(), true, Type::OffsetBot); | 1122 const TypeAryPtr* target_type = TypeAryPtr::make(TypePtr::BotPTR, target_array_type, target_array->klass(), true, Type::OffsetBot); |
1123 | 1123 |
1124 IdealKit kit(gvn(), control(), merged_memory(), false, true); | 1124 IdealKit kit(gvn(), control(), merged_memory(), false, true); |