request(S): 7066339: Tiered: policy should make consistent decisions about osr levels (original) (raw)
Tom Rodriguez tom.rodriguez at oracle.com
Thu Jul 14 12:42:50 PDT 2011
- Previous message: request(S): 7066339: Tiered: policy should make consistent decisions about osr levels
- Next message: request(S): 7066339: Tiered: policy should make consistent decisions about osr levels
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Looks ok.
tom
On Jul 13, 2011, at 6:49 PM, Igor Veresov wrote:
After my fix for 7058689 it is possible that the AdvancedThresholdPolicy will make a different decision as to what compilation level for osr is appropriate in loopevent() and callevent() from what happens in methodbackbranchevent(). In methodbackbranchevent() in case the OSR compilation level is CompLevellimitedprofile we change it to CompLevelfullprofile but we don't do the same in callevent() and loopevent() to determine whether the existing OSR methods are current. The solution would be to move this level fixup in form of disabling the tier 3 delay feedback in common() for OSRs.
There was also bad interaction between the in-queue level change optimization with TieredStopAtLevel option set to 3, which caused compilation loops between level 2 and 3. Now it will be disabled if TieredStopAtLevel < 4. Also moved handling of TieredStopAtLevel to common(), because when it was in compile() it could lead to unnecessary OSR compiles with TieredStopAtLevel < 4. Webrev: http://cr.openjdk.java.net/~iveresov/7066339/webrev.00/ Thanks, igor
- Previous message: request(S): 7066339: Tiered: policy should make consistent decisions about osr levels
- Next message: request(S): 7066339: Tiered: policy should make consistent decisions about osr levels
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the hotspot-compiler-dev mailing list