8143215: gcc 4.1.2: fix three issues breaking the build

Also fix some more recent introduced missing casts.

Reviewed-by: stuefe, simonis, kbarrett, tschatzl
This commit is contained in:
Goetz Lindenmaier 2015-11-18 11:31:59 +01:00
parent 8c13cfe16c
commit 0410c05b22
5 changed files with 23 additions and 13 deletions

View file

@ -2730,7 +2730,7 @@ class CMSPhaseAccounting: public StackObj {
public:
// Not MT-safe; so do not pass around these StackObj's
// where they may be accessed by other threads.
jlong wallclock_millis() {
double wallclock_millis() {
return TimeHelper::counter_to_millis(os::elapsed_counter() - _trace_time.start_time());
}
};