# HG changeset patch # User dsamersoff # Date 1477309914 -10800 # Node ID 72bc0277f8893ec35f7da247bb5ae0eccde75658 # Parent e3e741af6407f4a54dbe19d89cda677cc48a1168 8160376: DebuggerException: Can't attach symbolicator to the process Summary: Make SA link to JavaRuntimeSupport in MacOS X Reviewed-by: dsamersoff, dcubed Contributed-by: Sharath Ballal diff -r e3e741af6407 -r 72bc0277f889 hotspot/make/lib/Lib-jdk.hotspot.agent.gmk --- a/hotspot/make/lib/Lib-jdk.hotspot.agent.gmk Mon Oct 24 09:55:58 2016 +0200 +++ b/hotspot/make/lib/Lib-jdk.hotspot.agent.gmk Mon Oct 24 14:51:54 2016 +0300 @@ -74,7 +74,7 @@ -mstack-alignment=16 -fPIC SA_LDFLAGS := $(LDFLAGS_JDKLIB) SA_LIBS := -framework Foundation -framework JavaNativeFoundation \ - -framework Security -framework CoreFoundation + -framework JavaRuntimeSupport -framework Security -framework CoreFoundation else ifeq ($(OPENJDK_TARGET_OS), windows) SA_NAME := sawindbg diff -r e3e741af6407 -r 72bc0277f889 hotspot/src/jdk.hotspot.agent/macosx/native/libsaproc/MacosxDebuggerLocal.m --- a/hotspot/src/jdk.hotspot.agent/macosx/native/libsaproc/MacosxDebuggerLocal.m Mon Oct 24 09:55:58 2016 +0200 +++ b/hotspot/src/jdk.hotspot.agent/macosx/native/libsaproc/MacosxDebuggerLocal.m Mon Oct 24 14:51:54 2016 +0300 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2002, 2016, 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 @@ -25,6 +25,7 @@ #include #import #import +#import #include diff -r e3e741af6407 -r 72bc0277f889 hotspot/test/runtime/SharedArchiveFile/SASymbolTableTest.java --- a/hotspot/test/runtime/SharedArchiveFile/SASymbolTableTest.java Mon Oct 24 09:55:58 2016 +0200 +++ b/hotspot/test/runtime/SharedArchiveFile/SASymbolTableTest.java Mon Oct 24 14:51:54 2016 +0300 @@ -24,9 +24,6 @@ /* * @test SASymbolTableTest * @summary Walk symbol table using SA, with and without CDS. - * Started failing on 2016.06.24 due to 8160376 on MacOS X so quarantine - * it on that platform: - * @requires os.family != "mac" * @library /test/lib * @modules java.base/jdk.internal.misc * jdk.hotspot.agent/sun.jvm.hotspot.oops diff -r e3e741af6407 -r 72bc0277f889 hotspot/test/serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java --- a/hotspot/test/serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java Mon Oct 24 09:55:58 2016 +0200 +++ b/hotspot/test/serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java Mon Oct 24 14:51:54 2016 +0300 @@ -42,9 +42,6 @@ * @bug 6313383 * @key regression * @summary Regression test for hprof export issue due to large heaps (>2G) - * Started failing on 2016.06.24 due to 8160376 on MacOS X so quarantine - * it on that platform: - * @requires os.family != "mac" * @library /test/lib * @modules java.base/jdk.internal.misc * java.compiler