Mercurial > hg > truffle
diff src/share/vm/runtime/perfMemory.cpp @ 17632:2604e2767d2c
8030955: assert(_prologue != NULL) failed: prologue pointer must be initialized
Summary: Return immediately if _prologue == NULL, instead of asserting
Reviewed-by: ccheung, coleenp
author | hseigel |
---|---|
date | Tue, 21 Jan 2014 08:58:31 -0500 |
parents | b9a9ed0f8eeb |
children | 4ca6dc0799b6 78bbf4d43a14 |
line wrap: on
line diff
--- a/src/share/vm/runtime/perfMemory.cpp Thu Jan 16 17:27:33 2014 -0800 +++ b/src/share/vm/runtime/perfMemory.cpp Tue Jan 21 08:58:31 2014 -0500 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -155,7 +155,7 @@ void PerfMemory::destroy() { - assert(_prologue != NULL, "prologue pointer must be initialized"); + if (_prologue == NULL) return; if (_start != NULL && _prologue->overflow != 0) {