Mercurial > hg > graal-jvmci-8
comparison jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotSpeculationLog.java @ 23346:39f25354aeee
Sync speculation log changes with JDK9 version
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Thu, 07 Apr 2016 11:09:49 -0700 |
parents | 32d6bceb9adc |
children | 9e1235406b59 |
comparison
equal
deleted
inserted
replaced
23345:1c4b6a7f1917 | 23346:39f25354aeee |
---|---|
80 speculations.add(reason); | 80 speculations.add(reason); |
81 | 81 |
82 return HotSpotObjectConstantImpl.forObject(reason); | 82 return HotSpotObjectConstantImpl.forObject(reason); |
83 } | 83 } |
84 | 84 |
85 @Override | |
85 public synchronized boolean hasSpeculations() { | 86 public synchronized boolean hasSpeculations() { |
86 return speculations != null && !speculations.isEmpty(); | 87 return speculations != null && !speculations.isEmpty(); |
87 } | 88 } |
88 } | 89 } |