Skip to content

Commit 164454f

Browse files
Xin Liuiklam
Xin Liu
authored andcommitted
8265867: thread.hpp defines some enums but no reference
Reviewed-by: dholmes, stuefe, iklam, coleenp
1 parent 75a2354 commit 164454f

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/hotspot/share/runtime/thread.hpp

-12
Original file line numberDiff line numberDiff line change
@@ -319,10 +319,6 @@ class Thread: public ThreadShadow {
319319
ObjectMonitor* _current_waiting_monitor;
320320

321321
public:
322-
enum {
323-
is_definitely_current_thread = true
324-
};
325-
326322
// Constructor
327323
Thread();
328324
virtual ~Thread() = 0; // Thread is abstract.
@@ -777,14 +773,6 @@ class JavaThread: public Thread {
777773
private: // restore original namespace restriction
778774
#endif // ifdef ASSERT
779775

780-
#ifndef PRODUCT
781-
public:
782-
enum {
783-
jump_ring_buffer_size = 16
784-
};
785-
private: // restore original namespace restriction
786-
#endif
787-
788776
JavaFrameAnchor _anchor; // Encapsulation of current java frame and it state
789777

790778
ThreadFunction _entry_point;

0 commit comments

Comments
 (0)