Skip to content

Commit

Permalink
Delete inaccurate comment
Browse files Browse the repository at this point in the history
  • Loading branch information
DanHeidinga committed May 22, 2024
1 parent 7b783ff commit 96036cb
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/hotspot/share/interpreter/interpreterRuntime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,14 +223,6 @@ JRT_ENTRY(void, InterpreterRuntime::_new(JavaThread* current, ConstantPool* pool
// Make sure klass is initialized
klass->initialize(CHECK);

// At this point the class may not be fully initialized
// because of recursive initialization. If it is fully
// initialized we rewrite it into its fast version
// (Note: no locking is needed here since this is an
// atomic byte write and can be done more than once).
//
// Note: If we have a breakpoint, then we don't rewrite
// because the _breakpoint bytecode would be lost.
oop obj = klass->allocate_instance(CHECK);
current->set_vm_result(obj);
JRT_END
Expand Down

0 comments on commit 96036cb

Please sign in to comment.