(synopsis is provisional, change as you see fit)
SonarCloud complains afterJDK-8355003 integration:
void CompileTrainingData::notice_jit_observation(ciEnv* env, ciBaseObject* what) {
// A JIT is starting to look at class k.
// We could follow the queries that it is making, but it is
// simpler to assume, conservatively, that the JIT will
// eventually depend on the initialization state of k.
CompileTask* task = env->task();
assert(task != nullptr, "");
Method* method = task->method();
InstanceKlass* compiling_klass = method->method_holder(); // <--- UNUSED
Looks like this entire block is dead. Please check if there is coding error somewhere?
SonarCloud complains after
void CompileTrainingData::notice_jit_observation(ciEnv* env, ciBaseObject* what) {
// A JIT is starting to look at class k.
// We could follow the queries that it is making, but it is
// simpler to assume, conservatively, that the JIT will
// eventually depend on the initialization state of k.
CompileTask* task = env->task();
assert(task != nullptr, "");
Method* method = task->method();
InstanceKlass* compiling_klass = method->method_holder(); // <--- UNUSED
Looks like this entire block is dead. Please check if there is coding error somewhere?
- caused by
-
JDK-8355003 Implement JEP 515: Ahead-of-Time Method Profiling
-
- Resolved
-