Mercurial > hg > graal-jvmci-8
comparison src/share/vm/opto/parse1.cpp @ 14422:2b8e28fdf503
Merge
author | kvn |
---|---|
date | Tue, 05 Nov 2013 17:38:04 -0800 |
parents | b2ee5dc63353 |
children | de6a9e811145 2113136690bc |
comparison
equal
deleted
inserted
replaced
14421:3068270ba476 | 14422:2b8e28fdf503 |
---|---|
379 } | 379 } |
380 } | 380 } |
381 | 381 |
382 //------------------------------Parse------------------------------------------ | 382 //------------------------------Parse------------------------------------------ |
383 // Main parser constructor. | 383 // Main parser constructor. |
384 Parse::Parse(JVMState* caller, ciMethod* parse_method, float expected_uses) | 384 Parse::Parse(JVMState* caller, ciMethod* parse_method, float expected_uses, Parse* parent) |
385 : _exits(caller) | 385 : _exits(caller), _parent(parent) |
386 { | 386 { |
387 // Init some variables | 387 // Init some variables |
388 _caller = caller; | 388 _caller = caller; |
389 _method = parse_method; | 389 _method = parse_method; |
390 _expected_uses = expected_uses; | 390 _expected_uses = expected_uses; |
1099 // Clear out dead values from the debug info. | 1099 // Clear out dead values from the debug info. |
1100 kill_dead_locals(); | 1100 kill_dead_locals(); |
1101 // Build the FastLockNode | 1101 // Build the FastLockNode |
1102 _synch_lock = shared_lock(lock_obj); | 1102 _synch_lock = shared_lock(lock_obj); |
1103 } | 1103 } |
1104 | |
1105 // Feed profiling data for parameters to the type system so it can | |
1106 // propagate it as speculative types | |
1107 record_profiled_parameters_for_speculation(); | |
1104 | 1108 |
1105 if (depth() == 1) { | 1109 if (depth() == 1) { |
1106 increment_and_test_invocation_counter(Tier2CompileThreshold); | 1110 increment_and_test_invocation_counter(Tier2CompileThreshold); |
1107 } | 1111 } |
1108 } | 1112 } |