mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
6711316: Open source the Garbage-First garbage collector
First mercurial integration of the code for the Garbage-First garbage collector. Reviewed-by: apetrusenko, iveresov, jmasa, sgoldman, tonyp, ysr
This commit is contained in:
parent
39463bb3fc
commit
18f3386a98
215 changed files with 36088 additions and 1249 deletions
|
@ -3767,6 +3767,10 @@ bool MatchRule::is_chain_rule(FormDict &globals) const {
|
|||
int MatchRule::is_ideal_copy() const {
|
||||
if( _rChild ) {
|
||||
const char *opType = _rChild->_opType;
|
||||
#if 1
|
||||
if( strcmp(opType,"CastIP")==0 )
|
||||
return 1;
|
||||
#else
|
||||
if( strcmp(opType,"CastII")==0 )
|
||||
return 1;
|
||||
// Do not treat *CastPP this way, because it
|
||||
|
@ -3786,6 +3790,7 @@ int MatchRule::is_ideal_copy() const {
|
|||
// return 1;
|
||||
//if( strcmp(opType,"CastP2X")==0 )
|
||||
// return 1;
|
||||
#endif
|
||||
}
|
||||
if( is_chain_rule(_AD.globalNames()) &&
|
||||
_lChild && strncmp(_lChild->_opType,"stackSlot",9)==0 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue