Mercurial > hg > truffle
comparison src/share/vm/oops/cpCache.cpp @ 14443:3205e78d8193
8029396: PPC64 (part 212): Several memory ordering fixes in C-code.
Summary: memory ordering fixes in GC and other runtime code showing on PPC64.
Reviewed-by: kvn, coleenp
author | goetz |
---|---|
date | Mon, 02 Dec 2013 10:26:14 +0100 |
parents | 41cb10cbfb3c |
children | 4ca6dc0799b6 78bbf4d43a14 |
comparison
equal
deleted
inserted
replaced
14442:1174c8abbdb6 | 14443:3205e78d8193 |
---|---|
361 | 361 |
362 Method* ConstantPoolCacheEntry::method_if_resolved(constantPoolHandle cpool) { | 362 Method* ConstantPoolCacheEntry::method_if_resolved(constantPoolHandle cpool) { |
363 // Decode the action of set_method and set_interface_call | 363 // Decode the action of set_method and set_interface_call |
364 Bytecodes::Code invoke_code = bytecode_1(); | 364 Bytecodes::Code invoke_code = bytecode_1(); |
365 if (invoke_code != (Bytecodes::Code)0) { | 365 if (invoke_code != (Bytecodes::Code)0) { |
366 Metadata* f1 = (Metadata*)_f1; | 366 Metadata* f1 = f1_ord(); |
367 if (f1 != NULL) { | 367 if (f1 != NULL) { |
368 switch (invoke_code) { | 368 switch (invoke_code) { |
369 case Bytecodes::_invokeinterface: | 369 case Bytecodes::_invokeinterface: |
370 assert(f1->is_klass(), ""); | 370 assert(f1->is_klass(), ""); |
371 return klassItable::method_for_itable_index((Klass*)f1, f2_as_index()); | 371 return klassItable::method_for_itable_index((Klass*)f1, f2_as_index()); |