src/hotspot/share/runtime/osThread.cpp
changeset 54807 33fe50b6d707
parent 47216 71c04702a3d5
child 58196 cea6839598e8
equal deleted inserted replaced
54786:ebf733a324d4 54807:33fe50b6d707
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    51     case SLEEPING:                st->print("sleeping");                    break;
    51     case SLEEPING:                st->print("sleeping");                    break;
    52     case ZOMBIE:                  st->print("zombie");                      break;
    52     case ZOMBIE:                  st->print("zombie");                      break;
    53     default:                      st->print("unknown state %d", _state); break;
    53     default:                      st->print("unknown state %d", _state); break;
    54   }
    54   }
    55 }
    55 }
       
    56 
       
    57 void OSThread::print() const { print_on(tty); }