Skip to content

Commit d219d8b

Browse files
committed
8253002: Remove the unused SafePointNode::_oop_map field
Reviewed-by: thartmann
1 parent dafcf10 commit d219d8b

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

src/hotspot/share/opto/callnode.hpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ class BoxLockNode;
5454
class LockNode;
5555
class UnlockNode;
5656
class JVMState;
57-
class OopMap;
5857
class State;
5958
class StartNode;
6059
class MachCallNode;
@@ -329,14 +328,12 @@ class SafePointNode : public MultiNode {
329328
// A plain safepoint advertises no memory effects (NULL):
330329
const TypePtr* adr_type = NULL)
331330
: MultiNode( edges ),
332-
_oop_map(NULL),
333331
_jvms(jvms),
334332
_adr_type(adr_type)
335333
{
336334
init_class_id(Class_SafePoint);
337335
}
338336

339-
OopMap* _oop_map; // Array of OopMap info (8-bit char) for GC
340337
JVMState* const _jvms; // Pointer to list of JVM State objects
341338
const TypePtr* _adr_type; // What type of memory does this node produce?
342339
ReplacedNodes _replaced_nodes; // During parsing: list of pair of nodes from calls to GraphKit::replace_in_map()
@@ -349,8 +346,6 @@ class SafePointNode : public MultiNode {
349346
void set_jvms(JVMState* s) {
350347
*(JVMState**)&_jvms = s; // override const attribute in the accessor
351348
}
352-
OopMap *oop_map() const { return _oop_map; }
353-
void set_oop_map(OopMap *om) { _oop_map = om; }
354349

355350
private:
356351
void verify_input(JVMState* jvms, uint idx) const {

src/hotspot/share/opto/matcher.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1346,9 +1346,6 @@ MachNode *Matcher::match_sfpt( SafePointNode *sfpt ) {
13461346
assert((mcall == NULL) || (mcall->jvms() == NULL) ||
13471347
(mcall->jvms()->debug_start() + mcall->_jvmadj == mcall->tf()->domain()->cnt()), "");
13481348

1349-
// Move the OopMap
1350-
msfpt->_oop_map = sfpt->_oop_map;
1351-
13521349
// Add additional edges.
13531350
if (msfpt->mach_constant_base_node_input() != (uint)-1 && !msfpt->is_MachCallLeaf()) {
13541351
// For these calls we can not add MachConstantBase in expand(), as the

0 commit comments

Comments
 (0)