Hey Fengbin,

did you run a program and noticed some kind of performance degradation
because of this?

If yes, could you provide some details? If not, I would suggest to not do
this. I can see how this "improves" performance in micro benchmarks, but
not how it would affect the overall performance of the whole system with
real programs running.

– Ufuk

On Wed, Aug 12, 2015 at 11:33 AM, Fangfengbin <fangfeng...@huawei.com>
wrote:

> Hello
>
>
>
> Some operators call system.currentTimeMillis() frequently and it is cost
> performance.
>
> I want to use a thread to call System.currentTimeMillis and update a long
> variable millTime. All other module do not need call
> System.currentTimeMillis() and can get millTime directly.
>
> I want to know your suggestion. Thank you very much.
>
>
>
>
>
> Regards
>
> Fengbin Fang
>
>
>

Reply via email to