Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/deoptimization.cpp @ 5121:34518fd74518
fixed fastdebug C++ issue
author | Christian Haeubl <christian.haeubl@oracle.com> |
---|---|
date | Tue, 20 Mar 2012 08:34:54 -0700 |
parents | dad1ac9dba7d |
children | ab038e0d6b43 |
comparison
equal
deleted
inserted
replaced
5120:37e75b4de85e | 5121:34518fd74518 |
---|---|
1658 } | 1658 } |
1659 | 1659 |
1660 // For reasons which are recorded per bytecode, we check per-BCI data. | 1660 // For reasons which are recorded per bytecode, we check per-BCI data. |
1661 ProfileData* pdata = NULL; | 1661 ProfileData* pdata = NULL; |
1662 DeoptReason per_bc_reason = reason_recorded_per_bytecode_if_any(reason); | 1662 DeoptReason per_bc_reason = reason_recorded_per_bytecode_if_any(reason); |
1663 assert(per_bc_reason != NULL || update_total_trap_count, "must be"); | 1663 assert(per_bc_reason != Reason_none || update_total_trap_count, "must be"); |
1664 if (per_bc_reason != Reason_none) { | 1664 if (per_bc_reason != Reason_none) { |
1665 // Find the profile data for this BCI. If there isn't one, | 1665 // Find the profile data for this BCI. If there isn't one, |
1666 // try to allocate one from the MDO's set of spares. | 1666 // try to allocate one from the MDO's set of spares. |
1667 // This will let us detect a repeated trap at this point. | 1667 // This will let us detect a repeated trap at this point. |
1668 pdata = trap_mdo->allocate_bci_to_data(trap_bci); | 1668 pdata = trap_mdo->allocate_bci_to_data(trap_bci); |