Request for reviews (XS): 7032849: 7022998 changes broke hs_err compile task print
Vladimir Kozlov
vladimir.kozlov at oracle.com
Thu Mar 31 15:18:02 PDT 2011
No. 0 (I can use 1) means it is from the start of VM. This value (_counter) is
subtracted from elapsed time in TimeStamp::milliseconds() used by print compilation:
void TimeStamp::update_to(jlong ticks) {
_counter = ticks;
if (_counter == 0) _counter = 1;
assert(is_updated(), "must not look clear");
}
jlong TimeStamp::milliseconds() const {
assert(is_updated(), "must not be clear");
jlong new_count = os::elapsed_counter();
jlong count = new_count - _counter;
Vladimir
Tom Rodriguez wrote:
> Don't you just want to update it to the current time with update()?
>
> tom
>
> On Mar 31, 2011, at 2:38 PM, Vladimir Kozlov wrote:
>
>> http://cr.openjdk.java.net/~kvn/7032849/webrev
>>
>> Fixed 7032849: 7022998 changes broke hs_err compile task print
>>
>> Initialize the time stamp on ostream used for dumping.
>
More information about the hotspot-compiler-dev
mailing list