comparison src/share/vm/code/compiledIC.cpp @ 1423:760213a60e8b

* rewrite of the code installation * partial support for safepoints * macro-based CiTargetMethod interface * code stub support
author Lukas Stadler <lukas.stadler@oracle.com>
date Mon, 16 Aug 2010 18:59:36 -0700
parents a61af66fc99e
children 2d26b0046e0d
comparison
equal deleted inserted replaced
1422:3483ec571caf 1423:760213a60e8b
512 512
513 NativeMovConstReg* method_holder = nativeMovConstReg_at(stub); // creation also verifies the object 513 NativeMovConstReg* method_holder = nativeMovConstReg_at(stub); // creation also verifies the object
514 NativeJump* jump = nativeJump_at(method_holder->next_instruction_address()); 514 NativeJump* jump = nativeJump_at(method_holder->next_instruction_address());
515 515
516 assert(method_holder->data() == 0 || method_holder->data() == (intptr_t)callee(), "a) MT-unsafe modification of inline cache"); 516 assert(method_holder->data() == 0 || method_holder->data() == (intptr_t)callee(), "a) MT-unsafe modification of inline cache");
517 assert(jump->jump_destination() == (address)-1 || jump->jump_destination() == entry, "b) MT-unsafe modification of inline cache"); 517 assert(UseC1X || jump->jump_destination() == (address)-1 || jump->jump_destination() == entry, "b) MT-unsafe modification of inline cache");
518 518
519 // Update stub 519 // Update stub
520 method_holder->set_data((intptr_t)callee()); 520 method_holder->set_data((intptr_t)callee());
521 jump->set_jump_destination(entry); 521 jump->set_jump_destination(entry);
522 522