equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1999, 2015, 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. |
379 else if(t->is_VM_thread()){ |
379 else if(t->is_VM_thread()){ |
380 vmthread = (VMThread *)t; |
380 vmthread = (VMThread *)t; |
381 } |
381 } |
382 } |
382 } |
383 } |
383 } |
384 |
|
385 guarantee(sig != os::Solaris::SIGinterrupt(), "Can not chain VM interrupt signal, try -XX:+UseAltSigs"); |
|
386 |
384 |
387 if (sig == os::Solaris::SIGasync()) { |
385 if (sig == os::Solaris::SIGasync()) { |
388 if(thread || vmthread){ |
386 if(thread || vmthread){ |
389 OSThread::SR_handler(t, uc); |
387 OSThread::SR_handler(t, uc); |
390 return true; |
388 return true; |